nimbus-eth2/beacon_chain
Jacek Sieka 3d7bee8502
REST API client, JSON-RPC cleanups (#2756)
This refactoring puts the JSON-RPC and REST APIs on more equal footing
by renaming and moving things around, creating a separation between
client and server, and documenting what they are - the aim is to have a
simple-to-use base to start from when developing API clients, as well as
make it easier to navigate the code when looking for the legacy JSON-RPC
interface vs the new REST API.

* move REST client, serialization and supporting types to spec/eth2_apis
* REST stuff now starts with `rest_`, JSON-RPC stuff starts with `rpc_`,
more or less
* simplify imports such that there's a simple module to import for both
server and client
* map REST type and proc names to yaml spec more closely - in
particular, reuse operation and type names in `rest_types` to make
comparisons against spec more easy
* cleaner separation between client and server modules - modules common
between server and client such as `rest_types` and serialization move to
the spec folder - this allows the client to be built with less knowledge
about server internals
2021-08-03 17:17:11 +02:00
..
consensus_object_pools prevent resyncing from genesis with altair head block (#2750) 2021-08-01 10:20:43 +02:00
eth1 More RuntimeConfig cleanup (#2716) 2021-07-13 16:27:10 +02:00
fork_choice add blockchain_dag altair database reading; add rollback tests (#2683) 2021-06-29 15:09:29 +00:00
gossip_processing partial altair merge (#2735) 2021-07-26 09:51:14 +00:00
networking nim-libp2p auto bump (#2647) 2021-07-26 12:36:17 +00:00
rpc REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
spec REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
ssz some whole-file copies from altair branch (#2728) 2021-07-19 11:58:30 +00:00
sync REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
validator_client REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
validators log overall sent aggregated attestation message signatures (#2754) 2021-08-03 10:32:55 +00:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim More RuntimeConfig cleanup (#2716) 2021-07-13 16:27:10 +02:00
beacon_chain_db_immutable.nim make isomorphicCast available outside immutable beacon chain database (#2696) 2021-07-02 17:38:14 +00:00
beacon_clock.nim New validator client using REST API. (#2651) 2021-07-13 13:15:07 +02:00
beacon_node_common.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
beacon_node_status.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
beacon_node_types.nim New validator client using REST API. (#2651) 2021-07-13 13:15:07 +02:00
conf.nim New validator client using REST API. (#2651) 2021-07-13 13:15:07 +02:00
extras.nim use ForkedHashedBeaconState in StateData (#2634) 2021-06-11 20:51:46 +03:00
filepath.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
interop.nim Implement split preset/config support (#2710) 2021-07-12 15:01:38 +02:00
nimbus_beacon_node.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
nimbus_beacon_node.nim.cfg Drop UseDiscv51 flag and only support discovery v5.1 2020-11-14 19:12:30 +02:00
nimbus_binary_common.nim New validator client using REST API. (#2651) 2021-07-13 13:15:07 +02:00
nimbus_signing_process.nim singe validator key cache 2021-06-01 20:43:44 +03:00
nimbus_validator_client.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
nimbus_validator_client.nim.cfg Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
ssz.nim Move SSZ, deposit_contracts & eth1_monitor [reorg files 3/5] (#2371) 2021-03-03 07:23:05 +01:00
statediff.nim write uncompressed validator keys to database (#2639) 2021-06-10 10:37:02 +03:00
statusbar.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
version.nim add version metric (using labels) (#2711) 2021-07-09 07:41:44 +02:00