2023-08-27 01:23:45 +00:00
|
|
|
# Nimbus
|
2024-03-28 11:59:23 +00:00
|
|
|
# Copyright (c) 2023-2024 Status Research & Development GmbH
|
2023-08-27 01:23:45 +00:00
|
|
|
# Licensed under either of
|
|
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
|
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
|
|
|
# at your option.
|
|
|
|
# This file may not be copied, modified, or distributed except according to
|
|
|
|
# those terms.
|
|
|
|
|
|
|
|
import
|
|
|
|
./api_handler/api_utils,
|
|
|
|
./api_handler/api_getpayload,
|
|
|
|
./api_handler/api_getbodies,
|
|
|
|
./api_handler/api_exchangeconf,
|
|
|
|
./api_handler/api_newpayload,
|
|
|
|
./api_handler/api_forkchoice
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# Public functions
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
export
|
|
|
|
invalidStatus,
|
|
|
|
getPayload,
|
|
|
|
getPayloadV3,
|
2024-03-28 11:59:23 +00:00
|
|
|
getPayloadV4,
|
2023-08-27 01:23:45 +00:00
|
|
|
getPayloadBodiesByHash,
|
|
|
|
getPayloadBodiesByRange,
|
|
|
|
exchangeConf,
|
|
|
|
newPayload,
|
|
|
|
forkchoiceUpdated
|