Preston Van Loon
2d98902eed
Require state to exist when updating finalized checkpoint ( #3843 )
...
* require state to exist before saving finalized checkpoint
* Add comment
* gaz
* fix test
* fix test
v0.2.2
2019-10-23 22:50:33 -07:00
terence tsao
ae1e435231
Guard against deleting genesis and finalized state in DB ( #3842 )
...
* Don't delete boundary state
* Lint
* Test
* Feedback
* Batch and better comment
* Fix test
* zzzzzz
* rmStatesOlderThanLastFinalized
2019-10-23 22:39:41 -07:00
terence tsao
d5547355d5
Update READINGS.md ( #3832 )
v0.2.1
2019-10-24 10:11:03 +08:00
Preston Van Loon
544ce2b4ed
add peer to span and log ( #3838 )
2019-10-23 18:35:08 -07:00
terence tsao
9a0fb5dca1
Delete DB states older than finalized checkpoint ( #3824 )
2019-10-23 08:30:21 -07:00
Preston Van Loon
32271aeae1
Add script to upload github assets ( #3822 )
2019-10-23 22:21:35 +08:00
Preston Van Loon
2fefe6d14b
Update TESTNET.md ( #3831 )
2019-10-23 17:53:33 +08:00
Preston Van Loon
27bd188ea8
Add a tool to extract genesis.ssz from existing database ( #3827 )
...
* Add a tool to extract genesis.ssz from existing database
* close db
* panic on nil
2019-10-22 22:43:41 -07:00
Preston Van Loon
c2e7aa7a39
Update TESTNET.md ( #3828 )
2019-10-22 19:17:05 -07:00
terence tsao
be5451abef
Removed extra save genesis block root ( #3829 )
2019-10-22 17:49:18 -07:00
Preston Van Loon
e4dafd8475
Minor edit ( #3826 )
2019-10-22 16:51:32 -07:00
Preston Van Loon
7b8331c607
Add testnet markdown instructions ( #3825 )
2019-10-22 16:45:27 -07:00
Preston Van Loon
552baf1c21
Revert "Fix Round Robin Test ( #3775 )" ( #3823 )
2019-10-22 14:44:52 -07:00
Preston Van Loon
e37e757226
Limit init sync to 15 peers ( #3821 )
v0.2.0
0.2.0
2019-10-22 11:43:07 -07:00
terence tsao
f86b7ac62d
Add State Batch Delete for DB ( #3820 )
2019-10-22 11:13:41 -07:00
Nishant Das
a440c32155
Blacklist Peer if they fail Handshake too many times ( #3815 )
...
* add new changes
* add changes to set
* Revert "add changes to set"
This reverts commit 07fd48c15f .
* Revert "Revert "add changes to set""
This reverts commit 6b84a6017e .
* new changes
* add blacklist
* gaz
* add test
* fix visibility
* Update beacon-chain/sync/rpc_status_test.go
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com >
* preston's review
2019-10-21 17:43:44 -07:00
Preston Van Loon
1138c2cb51
Gateway registers gRPC gateway handlers ( #3818 )
2019-10-21 17:15:57 -07:00
Nishant Das
c9a7a9c709
Attestation is Decoupled From Proposal ( #3800 )
...
* fix
* add correct test
* add helper
* gaz
* add helper
* gaz
2019-10-22 07:15:32 +08:00
terence tsao
97905c3e79
Refactor operation service.go into smaller files ( #3808 )
...
* Different files
* Preston's feedback
2019-10-21 09:37:50 -07:00
Preston Van Loon
d8e70fe83c
do not use mutliple read locks ( #3812 )
2019-10-20 22:37:39 -07:00
Marius Kjærstad
635e20529a
Updated why-combining-sharding-and-casper link in validator/README.md ( #3810 )
...
Updated why-combining-sharding-and-casper link in validator/README.md
2019-10-20 19:43:30 -07:00
Jim McDonald
053fa5e616
Remove hard-coded config values ( #3762 )
...
* Remove hard-coded config values
* Partial reversion to use hard-coded fork version of 0
* Re-add fetching genesis fork version from config
2019-10-19 13:52:34 -07:00
Jim McDonald
5000535907
Waiting condition check prior to waiting log entry ( #3802 )
2019-10-19 13:35:45 -07:00
Jim McDonald
04113baf9d
Generate keys in test ( #3807 )
2019-10-19 10:29:25 -07:00
terence tsao
1433fab0d4
Use lowest included slot for precompute ( #3805 )
...
* Fix attestations
* Fix new
* Testing state transition
* Fix
* Runtime works
2019-10-18 21:47:54 -07:00
shayzluf
23be8419fe
Indexed attestations store ( #3322 )
2019-10-18 20:35:09 -07:00
shayzluf
2437a0e33c
Prevent PATH changes from causing bazel rebuild ( #3806 )
2019-10-19 08:03:40 +05:30
terence tsao
e42af4f11d
Check attestations bitfield overlaps ( #3804 )
2019-10-18 17:41:27 -07:00
terence tsao
a05dca18c7
Add spec tests for process_slashing and process_justification_finalization ( #3803 )
...
* Add precompute spec tests
* Gazelle
2019-10-18 09:09:38 -07:00
terence tsao
a41ac6b498
Implement ProcessEpochPrecompute ( #3798 )
...
* Implemented ProcessSlashingsPrecompute
* Tests for ProcessSlashingsPrecompute
* Gaz
* Lint
* Feature flags
* Hook in ProcessEpochPrecompute
* Hook it to spec test
* Seperate test into it's own package to avoid circular dependency
* Lint
* Gazelle
* Preston's feedback
* Nishant's feedback
2019-10-18 16:38:47 +08:00
Preston Van Loon
fb510a3510
Reject blocks from the future in regular sync ( #3799 )
...
* reject blocks from the future in syncing
* fix test and gofmt
2019-10-18 11:30:14 +08:00
terence tsao
aedd38092f
Process slashing with precompute ( #3797 )
...
* Implemented ProcessSlashingsPrecompute
* Tests for ProcessSlashingsPrecompute
* Gaz
* Lint
* Removed comment
2019-10-18 09:10:41 +08:00
terence tsao
89ef6d6648
Process rewards and penalties with precompute ( #3793 )
2019-10-17 10:54:03 -07:00
Preston Van Loon
fef6b95fed
bump fork version ( #3795 )
2019-10-17 08:50:13 -07:00
Jim McDonald
d4db7a68aa
Add note on building standalone binaries ( #3758 )
2019-10-17 08:42:53 -07:00
terence tsao
921d0a6e7e
Process justification with precompute ( #3792 )
2019-10-17 02:24:13 -07:00
Preston Van Loon
6bf14dedcd
Better aggregated attestations pool ( #3761 )
...
* WIP of aggregated signatures in DB
* new lines at end
* taking a nap on the plane now
* fix tests
* remove duplication of attestations. so much for that airplane nap lol
* benchmark before flight lands
* gaz
* manual gaz
* fully contained checks
* quick improvement before landing
* new bitlist with fixes
* doesn't need real signatures
* it works, mostly
* print shard too
* some refactoring
* Revert "some refactoring"
This reverts commit 377ce7fbfb .
* Revert "Revert "some refactoring""
This reverts commit b46a458898 .
These changes are ok, just need to update the expected values
* fix tests
* lint
* lint
* upstream changes
* fix tests
* what
* resolve TODOs
* gofmt
* revert unrelated pb
* remove debug statement
2019-10-16 23:46:07 -07:00
shayzluf
cde87ae39b
slasher todo ( #3794 )
...
* add todo
* add issue number
2019-10-17 11:06:55 +05:30
shayzluf
4130c78be7
slasher server ( #3596 )
...
* first version of the watchtower api
* service files
* Begin work on grpc server
* More changes to server
* REnames and mock setup
* working test
* merge
* double propose detection test
* nishant review
* todo change
* gaz
* fix service
* gaz
* remove unused import
* gaz
* resolve circular dependency
* resolve circular dependency 2nd try
* remove package
* fix package
* fix test
* added tests
* gaz
* remove status check
* gaz
* remove context
* remove context
* change var name
* moved to rpc dir
* gaz
* remove server code
* gaz
* slasher server
* visibility change
* pb
* service update
* gaz
2019-10-17 08:42:26 +05:30
terence tsao
2d863a1e63
Methods to precompute process_epoch records ( #3788 )
2019-10-16 17:48:26 -07:00
terence tsao
a62ac97a35
Type for process epoch optimization ( #3783 )
2019-10-16 11:26:02 -07:00
Preston Van Loon
86a8ec035c
Aggregation helper improvements ( #3789 )
...
* aggregation helper
* lint
2019-10-16 11:11:58 -07:00
terence tsao
f0944d205d
update go_bitfield ( #3782 )
2019-10-16 08:17:01 -07:00
Jim McDonald
b0eccd24a2
Tidy up logging ( #3784 )
2019-10-16 06:37:43 -07:00
Jim McDonald
9d441011d7
Remove key duplication ( #3763 )
...
* Remove key duplication
* Break out function to allow testing
2019-10-15 11:20:23 -07:00
Nishant Das
f63c12b7b2
change commit ( #3781 )
2019-10-15 06:37:54 -07:00
Nishant Das
00a5a25323
Fix Round Robin Test ( #3775 )
...
* fix round robin test
* add comment
2019-10-15 14:06:44 +08:00
Preston Van Loon
0d1aeeeaf4
Update renovate.json ( #3780 )
2019-10-14 15:23:20 -07:00
Preston Van Loon
c5d4d5dfce
Change renovate to group dependencies ( #3776 )
2019-10-14 13:56:06 -05:00
Sylvain Laurent
2bd1e54d92
Fix missing parameter in docker command ( #3757 )
2019-10-12 18:46:10 +09:00