2019-02-14 01:09:18 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2019-06-15 15:26:56 +00:00
|
|
|
"eth2/lmd_ghost",
|
2019-03-06 03:46:12 +00:00
|
|
|
"eth2/operation_pool",
|
2019-02-14 01:09:18 +00:00
|
|
|
"eth2/state_processing",
|
|
|
|
"eth2/types",
|
|
|
|
"eth2/utils/bls",
|
2019-05-22 07:22:12 +00:00
|
|
|
"eth2/utils/compare_fields",
|
|
|
|
"eth2/utils/compare_fields_derive",
|
2019-06-09 00:21:50 +00:00
|
|
|
"eth2/utils/eth2_config",
|
2019-08-06 03:29:27 +00:00
|
|
|
"eth2/utils/eth2_interop_keypairs",
|
2019-07-30 23:06:53 +00:00
|
|
|
"eth2/utils/logging",
|
2019-08-08 01:39:47 +00:00
|
|
|
"eth2/utils/eth2_hashing",
|
2019-08-11 05:34:10 +00:00
|
|
|
"eth2/utils/lighthouse_metrics",
|
2019-09-01 09:32:57 +00:00
|
|
|
"eth2/utils/lighthouse_bootstrap",
|
2019-03-06 05:59:36 +00:00
|
|
|
"eth2/utils/merkle_proof",
|
2019-02-15 00:19:25 +00:00
|
|
|
"eth2/utils/int_to_bytes",
|
2019-03-15 02:31:30 +00:00
|
|
|
"eth2/utils/serde_hex",
|
2019-02-14 01:09:18 +00:00
|
|
|
"eth2/utils/slot_clock",
|
|
|
|
"eth2/utils/ssz",
|
2019-02-19 02:53:05 +00:00
|
|
|
"eth2/utils/ssz_derive",
|
2019-07-05 07:33:20 +00:00
|
|
|
"eth2/utils/ssz_types",
|
2019-02-14 07:22:55 +00:00
|
|
|
"eth2/utils/swap_or_not_shuffle",
|
2019-04-15 01:14:30 +00:00
|
|
|
"eth2/utils/tree_hash",
|
2019-04-15 05:45:05 +00:00
|
|
|
"eth2/utils/tree_hash_derive",
|
2019-02-22 11:16:11 +00:00
|
|
|
"eth2/utils/test_random_derive",
|
2019-02-14 01:09:18 +00:00
|
|
|
"beacon_node",
|
2019-05-21 08:20:23 +00:00
|
|
|
"beacon_node/store",
|
2019-03-01 01:45:01 +00:00
|
|
|
"beacon_node/client",
|
First RESTful HTTP API (#399)
* Added generated code for REST API.
- Created a new crate rest_api, which will adapt the openapi generated code to Lighthouse
- Committed automatically generated code from openapi-generator-cli (via docker). Should hopfully not have to modify this at all, and do all changes in the rest_api crate.
* Removed openapi generated code, because it was the rust client, not the rust server.
* Added the correct rust-server code, automatically generated from openapi.
* Added generated code for REST API.
- Created a new crate rest_api, which will adapt the openapi generated code to Lighthouse
- Committed automatically generated code from openapi-generator-cli (via docker). Should hopfully not have to modify this at all, and do all changes in the rest_api crate.
* Removed openapi generated code, because it was the rust client, not the rust server.
* Added the correct rust-server code, automatically generated from openapi.
* Included REST API in configuratuion.
- Started adding the rest_api into the beacon node's dependencies.
- Set up configuration file for rest_api and integrated into main client config
- Added CLI flags for REST API.
* Futher work on REST API.
- Adding the dependencies to rest_api crate
- Created a skeleton BeaconNodeService, which will handle /node requests.
- Started the rest_api server definition, with the high level request handling logic.
* Added generated code for REST API.
- Created a new crate rest_api, which will adapt the openapi generated code to Lighthouse
- Committed automatically generated code from openapi-generator-cli (via docker). Should hopfully not have to modify this at all, and do all changes in the rest_api crate.
* Removed openapi generated code, because it was the rust client, not the rust server.
* Added the correct rust-server code, automatically generated from openapi.
* Included REST API in configuratuion.
- Started adding the rest_api into the beacon node's dependencies.
- Set up configuration file for rest_api and integrated into main client config
- Added CLI flags for REST API.
* Futher work on REST API.
- Adding the dependencies to rest_api crate
- Created a skeleton BeaconNodeService, which will handle /node requests.
- Started the rest_api server definition, with the high level request handling logic.
* WIP: Restructured REST API to use hyper_router and separate services.
* WIP: Fixing rust for REST API
* WIP: Fixed up many bugs in trying to get router to compile.
* WIP: Got the beacon_node to compile with the REST changes
* Basic API works!
- Changed CLI flags from rest-api* to api*
- Fixed port cli flag
- Tested, works over HTTP
* WIP: Moved things around so that we can get state inside the handlers.
* WIP: Significant API updates.
- Started writing a macro for getting the handler functions.
- Added the BeaconChain into the type map, gives stateful access to the beacon state.
- Created new generic error types (haven't figured out yet), to reduce code duplication.
- Moved common stuff into lib.rs
* WIP: Factored macros, defined API result and error.
- did more logging when creating HTTP responses
- Tried moving stuff into macros, but can't get macros in macros to compile.
- Pulled out a lot of placeholder code.
* Fixed macros so that things compile.
* Cleaned up code.
- Removed unused imports
- Removed comments
- Addressed all compiler warnings.
- Ran cargo fmt.
* Removed auto-generated OpenAPI code.
* Addressed Paul's suggestions.
- Fixed spelling mistake
- Moved the simple macros into functions, since it doesn't make sense for them to be macros.
- Removed redundant code & inclusions.
* Removed redundant validate_request function.
* Included graceful shutdown in Hyper server.
* Fixing the dropped exit_signal, which prevented the API from starting.
* Wrapped the exit signal, to get an API shutdown log line.
2019-07-31 08:29:41 +00:00
|
|
|
"beacon_node/rest_api",
|
2019-02-27 23:24:27 +00:00
|
|
|
"beacon_node/network",
|
2019-03-20 04:09:24 +00:00
|
|
|
"beacon_node/eth2-libp2p",
|
2019-03-01 01:45:01 +00:00
|
|
|
"beacon_node/rpc",
|
2019-02-27 23:24:27 +00:00
|
|
|
"beacon_node/version",
|
2019-02-14 01:09:18 +00:00
|
|
|
"beacon_node/beacon_chain",
|
2019-05-13 07:56:46 +00:00
|
|
|
"tests/ef_tests",
|
2019-09-09 21:05:23 +00:00
|
|
|
"tests/lcli",
|
2019-02-14 01:09:18 +00:00
|
|
|
"protos",
|
|
|
|
"validator_client",
|
2019-03-20 05:24:28 +00:00
|
|
|
"account_manager",
|
2019-02-14 01:09:18 +00:00
|
|
|
]
|
2019-08-08 01:39:47 +00:00
|
|
|
|
|
|
|
[patch]
|
|
|
|
[patch.crates-io]
|
|
|
|
tree_hash = { path = "eth2/utils/tree_hash" }
|
|
|
|
tree_hash_derive = { path = "eth2/utils/tree_hash_derive" }
|
|
|
|
eth2_ssz = { path = "eth2/utils/ssz" }
|
|
|
|
eth2_ssz_derive = { path = "eth2/utils/ssz_derive" }
|
|
|
|
eth2_ssz_types = { path = "eth2/utils/ssz_types" }
|