terence tsao
cf54bc794b
Add Spans for Processing Block ( #1894 )
...
* add spans for processing slot
* gaz
* rm main
* added spans for block processing
2019-03-05 15:09:50 -06:00
terence tsao
ef54152071
Add Spans for Processing Slots ( #1890 )
...
* add spans for processing slot
* gaz
* rm main
2019-03-05 14:22:09 -06:00
Nishant Das
07a25ca710
Adding Prometheus Metrics and Tracing to Sync ( #1858 )
...
* adding tracing and metrics
* clean up main routine
* added tracing to initial sync
* gazelle
* fix tests
* fix naming
* comments
* consistent style in promauto counters
* rename spans
* final comment
2019-03-05 11:31:19 -06:00
Nishant Das
b264cdc557
Allow Node to Request State if it is Behind ( #1875 )
...
* fix naming
* comment
* tests
2019-03-05 10:59:49 -06:00
terence tsao
3f9124b30c
minus genesis epoch ( #1886 )
2019-03-05 07:51:13 -08:00
terence tsao
dd40320a1c
Save and Delete Validators Pubkey - Idx
Post Chainstart ( #1873 )
...
* starting tests
* added tests
* fixed comments
* gaz
* make sure key is using EntryExitEffectEpoch
2019-03-05 15:22:15 +08:00
Preston Van Loon
9999b3280a
Use promauto to automatically register metrics ( #1872 )
...
* Use promauto to automatically register metrics
* sub genesis slot
2019-03-04 21:38:03 -05:00
Nishant Das
d162b5603e
clean up context ( #1850 )
2019-03-04 12:57:59 -08:00
skillful-alex
4194d78bed
Add Web3Service Health Checks. (Issue #1204 ) ( #1581 )
...
* described the Status () function
* web3 service health checks
* remove method LatestBlockTime and add tests
* remove lastHeadInteractTime
* corrected conflicts of different branches of development
* goimports -w beacon-chain/powchain/service_test.go
2019-03-04 15:37:24 -05:00
Preston Van Loon
6af522986e
Enable POW chain by default ( #1861 )
...
* enable POW chain by default
* fix tests in node.go
* ignore ctx
2019-03-04 15:10:03 -05:00
terence tsao
eb9d4a630b
add metrics for justification and finalization ( #1854 )
2019-03-03 22:53:20 -08:00
terence tsao
b00891880e
Implement Validator Status RPC Methods ( #1839 )
2019-03-03 21:28:00 -08:00
Raul Jordan
0ce7c8c599
remove old timestamp error log ( #1807 )
2019-03-03 15:26:59 -08:00
terence tsao
17682321fe
Clean Up Validator RPC Server ( #1798 )
2019-03-03 14:55:12 -08:00
Ivan Martinez
5aa7320507
Clear Up Code Inconsistencies ( #1836 )
2019-03-03 09:31:29 -08:00
Nishant Das
fe2eb5a812
Fixing Sync ( #1830 )
...
* fix querier
* new fixes for sync
* reducing batch size and adding equality condition
* remove commented code
* fix test
* fix few more tests
2019-03-03 11:03:47 -06:00
Preston Van Loon
f09c66035b
add slot metric ( #1815 )
2019-03-03 08:18:27 -05:00
Preston Van Loon
f5aed821a6
Set static to off for cgo built beacon-chain ( #1813 )
...
* Update BUILD.bazel
* gazelle
2019-03-02 23:49:27 -08:00
terence tsao
c467ef19fa
remove fmt print ( #1811 )
2019-03-02 22:49:00 -05:00
terence tsao
94e6cfe478
Refactor Crosslink Committees at Slot ( #1771 )
2019-03-02 19:14:04 -08:00
terence tsao
6a1addbd1a
remove logging exits ( #1791 )
2019-03-02 21:22:35 -05:00
Nishant Das
b8785ba1d8
Eth1 Data Fix ( #1785 )
...
* adding fields to initalize state
* fix references
* change naming
* change to eth1data
* lint
2019-03-02 17:38:22 -06:00
terence tsao
5ab93dfabb
Fix Randao Reveal Bug ( #1801 )
...
* use 32 bytes
* all tests passed
* lint
2019-03-02 17:24:15 -06:00
Raul Jordan
88765b6d3c
Fix Attestation Info at Slot to Match Justified Epoch Expectations ( #1768 )
...
* fix crosslinkt committees
* fix lint
* fix in epoch
* imports
* add gx tags
* epoch shuffling tests
* regress test
* preston comments
* service change
* advance to handle skip slots
* ready
* imports
* rem unnecessary log
* revert config
* last comment
* imports
2019-03-01 18:33:55 -06:00
Preston Van Loon
8e3d8bca18
change this log to debug because its very verbose ( #1772 )
2019-03-01 16:28:03 -05:00
Preston Van Loon
4bf0ec0720
Block caching for ETH1Data (includes #1760 ) ( #1769 )
...
* add tests for cache
* changes to test
* add pruning and tests
* add fifo queue
* revamped key function
* fix all methods to use new fifo queue
* fix tests and gazelle
* refactor block cache
* lint
* add a bit more testing to service_test
2019-03-01 14:31:38 -06:00
James Towle
cfbbc9c61a
Implemented the flag grouping logic ( #1756 )
...
* Implemented the flag grouping logic
* Added a usage file to the validator binary and fixed style issues
* Ran gazelle fix to fix the CI tests that failed
2019-03-01 14:48:05 -05:00
Raul Jordan
7fac8a3c42
Fix Crosslink Calculation in Assignment Fetching ( #1737 )
...
* fix crosslinkt committees
* fix lint
* fix in epoch
* imports
* add gx tags
* epoch shuffling tests
* regress test
* preston comments
* lint
2019-03-01 11:39:09 -06:00
terence tsao
6dc6a9b766
Misc Fixes for Epoch Processing ( #1762 )
...
* misc fixes for epoch processing
* more fixes
* more fixes
* added todos
* fixed tests
* lint
2019-02-28 20:47:32 -06:00
Nishant Das
43932bc0d1
Optimize ETH1 Data Vote ( #1757 )
...
* optimize ETH1 data vote flow
* fixing merge issues
* Add benchmark
* fix genesis case
2019-02-28 17:27:28 -06:00
terence tsao
852214e497
Remove Next Epoch Registry Change Checks ( #1761 )
2019-02-28 07:27:43 -08:00
shayzluf
62c6cd58e0
Batch db write in order to resolve test slowliness ( #1732 )
...
* first version of batching
* batching db writes to solve test slowliness
* remove debug msg
* variable problem
* remove exesive code
2019-02-28 13:14:52 +08:00
Nishant Das
b1799e08be
add address check ( #1754 )
2019-02-27 20:49:57 -08:00
Preston Van Loon
a19cb1864e
Tracing additions ( #1747 )
2019-02-27 19:55:47 -08:00
terence tsao
4bc324dc95
Make Getting Epoch Assignment Generic ( #1746 )
2019-02-27 17:16:05 -08:00
terence tsao
9f950211d8
Rename Shard Block Root to Crosslink Data Root ( #1743 )
2019-02-27 15:07:39 -08:00
Ivan Martinez
136950e0c5
Update some of client to v0.3 spec ( #1733 )
...
* Update validator to v0.3 spec
* Fix typos with rename
2019-02-27 12:21:15 -08:00
terence tsao
79252f1e96
Fix committee assignment bugs ( #1740 )
...
* moved processiing logs to block chain service layer
* fix-committee-start-shard-bug
* typo
* fixed test
2019-02-27 13:36:37 -06:00
terence tsao
727adacb4b
fixed slashed epoch ( #1723 )
2019-02-26 16:12:06 -06:00
Raul Jordan
c2ad89a8b6
invalid timestamp from log issue ( #1720 )
2019-02-26 15:19:51 -06:00
Preston Van Loon
28e360665d
Complain if contract address changes ( #1724 )
...
* complain if wrong contract address
* add comment
2019-02-26 13:40:17 -05:00
terence tsao
84a6d2dcc5
Fix Get Previous Epoch Logic ( #1721 )
...
* moved processiing logs to block chain service layer
* fixed prev epoch logic
2019-02-26 11:53:36 -06:00
Raul Jordan
ed156e7c0e
use reg change flag everywhere ( #1722 )
2019-02-26 11:27:27 -06:00
Preston Van Loon
a21aa28ff8
remove preemptive chainstart variable set ( #1719 )
2019-02-26 11:41:22 -05:00
terence tsao
0976584f8e
moved processiing logs to block chain service layer ( #1708 )
2019-02-26 10:23:38 -06:00
terence tsao
c4ebb0a522
Fix attestation inclusion ( #1715 )
2019-02-26 07:38:49 -08:00
Nishant Das
a27c52e3a3
Update Initial Sync ( #1694 )
...
* adding check for chainHead
* add batch block limit
* adding state root
* removing genesisHash
* removing setBlockForInitialSync
* fixing tests
* remove obsolete check
* changing to check for state initialization
* changing var name
* fix test
* add in tests
* fix all tests
* lint
* reduce test time
* merge fixes
* gazelle
2019-02-26 13:37:28 +08:00
Raul Jordan
f5178ef4a6
registry change fix ( #1713 )
2019-02-25 20:19:24 -08:00
Raul Jordan
20803b4c9d
Revert Usage of ssz.TreeHash Across Repo ( #1711 )
...
* revert using ssz.TreeHash
* gazelle
2019-02-25 21:42:31 -06:00
Raul Jordan
84142477ea
Utilize New UpdateRegistry Function ( #1710 )
...
* fix current boundary issue
* gazelle
* test fix
* deprecate old epoch processing justified hash indices
* finality fixes
* fmt
* pseudocode
* underflow conditions
* add back att fix
* remove off by one fix
* fix most tests
* fix all tests
* logging proposers
* use the update registry function
* outdated tests
* fixed check reg change
* gazelle
* tests pass
* registry change flag
2019-02-25 18:37:55 -06:00