mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-13 04:27:03 +00:00
Rename beacon_chain_bridge to beacon_lc_bridge (#1655)
This commit is contained in:
parent
c20892f805
commit
31cff910b1
4
Makefile
4
Makefile
@ -66,13 +66,13 @@ TOOLS_CSV := $(subst $(SPACE),$(COMMA),$(TOOLS))
|
||||
|
||||
# Fluffy debugging tools + testing tools
|
||||
FLUFFY_TOOLS := \
|
||||
beacon_chain_bridge \
|
||||
beacon_lc_bridge \
|
||||
eth_data_exporter \
|
||||
content_verifier \
|
||||
blockwalk \
|
||||
portalcli
|
||||
FLUFFY_TOOLS_DIRS := \
|
||||
fluffy/tools/bridge \
|
||||
fluffy/tools/beacon_lc_bridge \
|
||||
fluffy/tools
|
||||
# comma-separated values for the "clean" target
|
||||
FLUFFY_TOOLS_CSV := $(subst $(SPACE),$(COMMA),$(FLUFFY_TOOLS))
|
||||
|
@ -89,15 +89,15 @@ Run a Fluffy node with the JSON-RPC API enabled.
|
||||
./build/fluffy --rpc --table-ip-limit:1024 --bucket-ip-limit:24
|
||||
```
|
||||
|
||||
Build & run the `beacon_chain_bridge`:
|
||||
Build & run the `beacon_lc_bridge`:
|
||||
```bash
|
||||
make fluffy-tools
|
||||
make beacon_lc_bridge
|
||||
|
||||
TRUSTED_BLOCK_ROOT=0x1234567890123456789012345678901234567890123456789012345678901234 # Replace this
|
||||
./build/beacon_chain_bridge --trusted-block-root=${TRUSTED_BLOCK_ROOT}
|
||||
./build/beacon_lc_bridge --trusted-block-root=${TRUSTED_BLOCK_ROOT}
|
||||
```
|
||||
|
||||
The `beacon_chain_bridge` will start with the consensus light client sync follow
|
||||
The `beacon_lc_bridge` will start with the consensus light client sync follow
|
||||
beacon block gossip. Once it is synced, the execution payload of new beacon
|
||||
blocks will be extracted and injected in the Portal network as execution headers
|
||||
and blocks.
|
||||
|
@ -196,7 +196,7 @@ fi
|
||||
# Build the binaries
|
||||
BINARIES="fluffy"
|
||||
if [[ "${LC_BRIDGE}" == "1" ]]; then
|
||||
BINARIES="${BINARIES} beacon_chain_bridge"
|
||||
BINARIES="${BINARIES} beacon_lc_bridge"
|
||||
fi
|
||||
TEST_BINARIES="test_portal_testnet"
|
||||
$MAKE -j ${NPROC} LOG_LEVEL=TRACE ${BINARIES}
|
||||
@ -325,7 +325,7 @@ done
|
||||
if [[ "$LC_BRIDGE" == "1" ]]; then
|
||||
echo "Starting bridge node."
|
||||
LC_BRIDGE_DATA_DIR="${DATA_DIR}/lc_bridge"
|
||||
./build/beacon_chain_bridge \
|
||||
./build/beacon_lc_bridge \
|
||||
--data-dir="${LC_BRIDGE_DATA_DIR}" \
|
||||
--udp-port=$(( BASE_PORT + NUM_NODES )) \
|
||||
--rpc-address="127.0.0.1" \
|
||||
|
@ -6,7 +6,7 @@
|
||||
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||
|
||||
#
|
||||
# This beacon_chain_bridge allows for following the head of the beacon chain and
|
||||
# This beacon_lc_bridge allows for following the head of the beacon chain and
|
||||
# seeding the latest execution block headers and bodies into the Portal network.
|
||||
#
|
||||
# The bridge does consensus light client sync and follows beacon block gossip.
|
||||
@ -87,7 +87,7 @@ import
|
||||
../../network/history/[history_content, history_network],
|
||||
../../network/beacon_light_client/beacon_light_client_content,
|
||||
../../common/common_types,
|
||||
./beacon_chain_bridge_conf
|
||||
./beacon_lc_bridge_conf
|
||||
|
||||
from stew/objects import checkedEnumAssign
|
||||
from stew/byteutils import readHexChar
|
@ -57,7 +57,7 @@ type BeaconBridgeConf* = object
|
||||
|
||||
# Storage
|
||||
dataDir* {.
|
||||
desc: "The directory where beacon_chain_bridge will store all data"
|
||||
desc: "The directory where beacon_lc_bridge will store all data"
|
||||
defaultValue: defaultVerifiedProxyDataDir()
|
||||
defaultValueDesc: $defaultDataVerifiedProxyDirDesc
|
||||
abbr: "d"
|
Loading…
x
Reference in New Issue
Block a user