Luke Anderson
eeba69cd0f
Moved beacon chain from request functionality into its own function.
2019-09-04 22:03:55 +10:00
Luke Anderson
01b652ab0e
Fixed merge conflict, updated calls.
...
- Fixed function re-names
- Updated the function which gets the beacon_chain from the request, and makes sure caches are updated.
- Updated this api-alignment branch with the new code from interop branch.
2019-09-04 16:06:14 +10:00
Luke Anderson
28a2ce2bdc
Fix formatting with rustfmt.
2019-09-04 14:19:48 +10:00
Paul Hauner
572df4f37e
Make bootstrapper block til connection established
2019-09-04 13:56:30 +10:00
Luke Anderson
0c1ceab527
Addressed Paul's suggestions.
...
- Updated some comments.
- Replaced match statements with map functions.
2019-09-04 13:43:45 +10:00
Paul Hauner
009a7eb9c7
Fix bug with invalid state root
2019-09-04 12:04:15 +10:00
Luke Anderson
b432c8c58c
Replaced unnecessary match statements with map_err and ok_or
2019-09-04 11:18:29 +10:00
Luke Anderson
dcd074877b
Removed block publish feature, since it's incomplete currently.
2019-09-04 10:57:09 +10:00
Luke Anderson
39a03ce586
Merge branch 'master' into api-alignment
2019-09-04 10:54:23 +10:00
Paul Hauner
7edc5f37b9
Move BeaconChainHarness to interop spec
2019-09-04 10:25:30 +10:00
Paul Hauner
2706025a34
Move data dir cleaning in node runtime start
2019-09-04 09:07:33 +10:00
Paul Hauner
d80d9dba4c
Add flag for web3 server
2019-09-03 16:40:53 +10:00
Luke Anderson
c13f27e245
Updating REST API.
...
- Made /beacon/state return the current 'head' state when no parameters are provided.
- Added some of the YAML api spec stuff to the /beacon/state endpoint in the rest_api spec.
2019-09-03 16:30:04 +10:00
Paul Hauner
29584ca087
Add docs to Eth1Chain
2019-09-03 15:56:11 +10:00
Paul Hauner
31557704eb
Add Eth1Chain member to BeaconChain
2019-09-03 15:52:25 +10:00
Paul Hauner
ab2b8accd4
Add first pass at Eth1Chain trait
2019-09-03 15:22:00 +10:00
Paul Hauner
1b4679e5bc
Improve block processing outcomes enum
2019-09-03 14:18:45 +10:00
Paul Hauner
969b6d7575
Tidy BeaconStateCow
2019-09-03 09:50:15 +10:00
Paul Hauner
a0e019b4d7
Fix interop eth1 blockhash
2019-09-02 18:19:30 +10:00
Paul Hauner
70f4052b2e
Allow starting testnet from JSON state
2019-09-02 15:58:53 +10:00
Paul Hauner
a8fce42ea9
Merge branch 'master' into interop
2019-09-02 15:15:43 +10:00
Paul Hauner
bfbe776712
Add special genesis state API endpoint
2019-09-02 15:07:48 +10:00
Paul Hauner
11a1505784
Allow starting from SSZ genesis state
2019-09-02 15:07:32 +10:00
Paul Hauner
6c50758bdf
Add ResponseBuilder to rest_api
2019-09-02 14:29:36 +10:00
Paul Hauner
d4bf1390c9
Add interop eth1 data stub
2019-09-02 11:39:28 +10:00
Paul Hauner
82dc84ebbf
Add slot-time CLI argument
2019-09-02 10:22:29 +10:00
Paul Hauner
4aa12dc408
Set a default BN bootstrap address
2019-09-02 09:59:52 +10:00
Paul Hauner
a78b030f58
Fix rpc port-bump bug
2019-09-01 22:22:09 +10:00
Paul Hauner
960082fe4e
Set all listen addresses to 0.0.0.0 for testnets
2019-09-01 22:21:46 +10:00
Paul Hauner
82b4a1b3eb
Fix multiple data_dirs in config
2019-09-01 22:21:29 +10:00
Paul Hauner
6db1a19169
Remove stray dbg!
2019-09-01 22:20:31 +10:00
Paul Hauner
4a69d01a37
Add first changes to validator CLI
2019-09-01 19:33:43 +10:00
Paul Hauner
fa6ba51eb7
Make gRPC and HTTP on by default
2019-09-01 19:33:21 +10:00
Paul Hauner
543e9457b7
Move bootstrapper into own crate
2019-09-01 19:32:57 +10:00
Luke Anderson
632c13a9ec
Fixing some API bits
...
- Adding the validator routes into the main function.
- Fixing the setting of the aggregation bits, and handling errors correctly.
- Rust format fixes, and addressing compiler warnings.
2019-09-01 15:41:03 +10:00
Luke Anderson
8ea1167563
Factored out getting beacon_chain from request into it's own function.
2019-09-01 15:09:01 +10:00
Luke Anderson
5ee1bb20b7
WIP: Furthered attestation production for validator.
2019-08-31 23:56:35 +10:00
Paul Hauner
5f0509be50
Improve and extend CLI interface
2019-08-31 12:34:27 +10:00
Paul Hauner
6ba093d14f
Add warning when disconnecting peer
2019-08-30 17:06:59 +10:00
Paul Hauner
9ffb6d0fe1
Fix fake_crypto test fails
2019-08-30 15:49:06 +10:00
Paul Hauner
6234adc0d6
Add interop-spec genesis procedure
2019-08-30 15:33:34 +10:00
Paul Hauner
3365106340
Fix bug with block production
2019-08-30 11:04:15 +10:00
Paul Hauner
31bbb0f573
Modify RPC duties endpoint
2019-08-30 01:51:18 +10:00
Paul Hauner
8060cd8f5c
Change RPC slot behaviour
2019-08-30 01:14:57 +10:00
Paul Hauner
ea562595ed
Fix bugs with gRPC API
2019-08-30 00:46:25 +10:00
Paul Hauner
ae114889c1
Fix bugs from removing speculative state
2019-08-30 00:24:46 +10:00
Age Manning
192380cb58
Ethereum 2.0 Network Specification Upgrade ( #510 )
...
Updates lighthouse to the latest networking spec
- Sync re-write (#496 )
- Updates to the latest eth2 networking spec (#495 )
- Libp2p updates and improvements
2019-08-29 13:23:28 +02:00
Paul Hauner
682081ef07
Add first pass at removing speculative state
2019-08-29 19:14:52 +10:00
Paul Hauner
29c8477242
Merge branch 'master' into interop
2019-08-29 16:00:22 +10:00
Paul Hauner
75ac21604f
Add long minutes CLI flag
2019-08-29 15:03:52 +10:00