2022-06-19 05:57:52 +00:00
|
|
|
# beacon_chain
|
2023-01-20 14:14:37 +00:00
|
|
|
# Copyright (c) 2018-2023 Status Research & Development GmbH
|
2021-08-03 15:17:11 +00:00
|
|
|
# Licensed and distributed under either of
|
|
|
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
|
|
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
2023-01-20 14:14:37 +00:00
|
|
|
{.push raises: [].}
|
2022-06-19 05:57:52 +00:00
|
|
|
|
2021-08-03 15:17:11 +00:00
|
|
|
## The `rest_api` module is a server implementation for the common REST API for
|
2023-06-07 21:27:15 +00:00
|
|
|
## Ethereum found at https://ethereum.github.io/beacon-APIs/
|
|
|
|
## along with several Nimbus-specific extensions. It is used by the validator
|
2021-08-03 15:17:11 +00:00
|
|
|
## client as well as many community utilities.
|
|
|
|
## A corresponding client can be found in the
|
|
|
|
## `spec/eth2_apis/rest_beacon_client` module
|
2022-06-19 05:57:52 +00:00
|
|
|
|
2021-08-03 15:17:11 +00:00
|
|
|
import
|
|
|
|
"."/[
|
|
|
|
rest_utils,
|
2023-06-07 21:27:15 +00:00
|
|
|
rest_beacon_api, rest_builder_api, rest_config_api, rest_debug_api,
|
|
|
|
rest_event_api, rest_key_management_api, rest_light_client_api,
|
|
|
|
rest_nimbus_api, rest_node_api, rest_validator_api]
|
2021-08-03 15:17:11 +00:00
|
|
|
|
|
|
|
export
|
|
|
|
rest_utils,
|
2023-06-07 21:27:15 +00:00
|
|
|
rest_beacon_api, rest_builder_api, rest_config_api, rest_debug_api,
|
|
|
|
rest_event_api, rest_key_management_api, rest_light_client_api,
|
|
|
|
rest_nimbus_api, rest_node_api, rest_validator_api
|