mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Merge pull request #1 from poohgithub/boot-network
Configuration to boot Poohnet network
This commit is contained in:
commit
1b52d5be6d
46 changed files with 782 additions and 0 deletions
1
poohnet/config/el/bootkey/bootkey1
Normal file
1
poohnet/config/el/bootkey/bootkey1
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
a7eef3b510d278bc02cdeeea409e8cd27daf789df5ab6da0dff62eb07f5bed8e
|
||||||
26
poohnet/config/el/genesis.json
Normal file
26
poohnet/config/el/genesis.json
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"chainId": 12301,
|
||||||
|
"homesteadBlock": 0,
|
||||||
|
"eip150Block": 0,
|
||||||
|
"eip155Block": 0,
|
||||||
|
"eip158Block": 0,
|
||||||
|
"byzantiumBlock": 0,
|
||||||
|
"constantinopleBlock": 0,
|
||||||
|
"petersburgBlock": 0,
|
||||||
|
"istanbulBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"londonBlock": 0,
|
||||||
|
"arrowglacierBlock": 0,
|
||||||
|
"clique": {
|
||||||
|
"period": 14,
|
||||||
|
"epoch": 30000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"difficulty": "1",
|
||||||
|
"gasLimit": "8000000",
|
||||||
|
"extradata": "0x00000000000000000000000000000000000000000000000000000000000000008532654aD638Db3deE3836B22B35f7Ca707428ca997C277946420AfF5deD06D0f52725B17fA1971A755f5326dbB7BA8B95d544E55fAAf7634e2B85590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"alloc": {
|
||||||
|
"8B595d325485a0Ca9d41908cAbF265E23C172847": { "balance": "5000000000000000000000000000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
32
poohnet/config/el/genesis_bosagora.json
Normal file
32
poohnet/config/el/genesis_bosagora.json
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"chainId": 12301,
|
||||||
|
"homesteadBlock": 0,
|
||||||
|
"eip150Block": 0,
|
||||||
|
"eip155Block": 0,
|
||||||
|
"eip158Block": 0,
|
||||||
|
"byzantiumBlock": 0,
|
||||||
|
"constantinopleBlock": 0,
|
||||||
|
"petersburgBlock": 0,
|
||||||
|
"istanbulBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"londonBlock": 0,
|
||||||
|
"arrowglacierBlock": 0,
|
||||||
|
"clique": {
|
||||||
|
"period": 14,
|
||||||
|
"epoch": 30000
|
||||||
|
},
|
||||||
|
"bosagoraBlock": 100,
|
||||||
|
"bosagora": {
|
||||||
|
"commonsBudget": "0xf1f0AF73A72D392433BE2c2A6596062632efE433",
|
||||||
|
"commonsBudgetReward": 120000000000000000000,
|
||||||
|
"lastCommonsBudgetRewardBlock": 15000100
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"difficulty": "1",
|
||||||
|
"gasLimit": "8000000",
|
||||||
|
"extradata": "0x00000000000000000000000000000000000000000000000000000000000000008532654aD638Db3deE3836B22B35f7Ca707428ca997C277946420AfF5deD06D0f52725B17fA1971A755f5326dbB7BA8B95d544E55fAAf7634e2B85590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"alloc": {
|
||||||
|
"8B595d325485a0Ca9d41908cAbF265E23C172847": { "balance": "5000000000000000000000000000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
36
poohnet/config/el/genesis_merge.json
Normal file
36
poohnet/config/el/genesis_merge.json
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"chainId": 12301,
|
||||||
|
"homesteadBlock": 0,
|
||||||
|
"eip150Block": 0,
|
||||||
|
"eip155Block": 0,
|
||||||
|
"eip158Block": 0,
|
||||||
|
"byzantiumBlock": 0,
|
||||||
|
"constantinopleBlock": 0,
|
||||||
|
"petersburgBlock": 0,
|
||||||
|
"istanbulBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"londonBlock": 0,
|
||||||
|
"arrowglacierBlock": 0,
|
||||||
|
"grayGlacierBlock": 0,
|
||||||
|
"mergeNetsplitBlock": 1200,
|
||||||
|
"terminalTotalDifficulty": 2800,
|
||||||
|
"TerminalTotalDifficultyPassed": false,
|
||||||
|
"clique": {
|
||||||
|
"period": 14,
|
||||||
|
"epoch": 30000
|
||||||
|
},
|
||||||
|
"bosagoraBlock": 100,
|
||||||
|
"bosagora": {
|
||||||
|
"commonsBudget": "0xf1f0AF73A72D392433BE2c2A6596062632efE433",
|
||||||
|
"commonsBudgetReward": 120000000000000000000,
|
||||||
|
"lastCommonsBudgetRewardBlock": 15000100
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"difficulty": "1",
|
||||||
|
"gasLimit": "8000000",
|
||||||
|
"extradata": "0x00000000000000000000000000000000000000000000000000000000000000008532654aD638Db3deE3836B22B35f7Ca707428ca997C277946420AfF5deD06D0f52725B17fA1971A755f5326dbB7BA8B95d544E55fAAf7634e2B85590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"alloc": {
|
||||||
|
"8B595d325485a0Ca9d41908cAbF265E23C172847": { "balance": "5000000000000000000000000000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
1
poohnet/config/el/nodekey/nodekey1
Normal file
1
poohnet/config/el/nodekey/nodekey1
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
524e612e9d2c3cc8f607f2fd7019f96514851bc4b79226f4398dd6fe233eca9a
|
||||||
1
poohnet/config/el/nodekey/nodekey2
Normal file
1
poohnet/config/el/nodekey/nodekey2
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
705a49839de2c71ba2f4196459a7e40e71d51fc4dc50c18f97186f0c6106d06f
|
||||||
1
poohnet/config/el/nodekey/nodekey3
Normal file
1
poohnet/config/el/nodekey/nodekey3
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
a531b428e78074ce51eda591be86b889b1b6ffb61e52855573e13e1417ebf8e1
|
||||||
1
poohnet/config/el/password.txt
Normal file
1
poohnet/config/el/password.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
boa2022!@
|
||||||
2
poohnet/config/el/template/node0/config.toml
Normal file
2
poohnet/config/el/template/node0/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@13.209.149.243:30303", "enode://d2f72fdba972c43471ab36f0d5a31cb0dfc8cf55ffe2675da32231031f58c2046cd9d957af37dce46df0dcb93d81ff76b14b9943b98a8d63c65523e51dfac385@3.37.37.195:30303", "enode://156bd1dcd1ecff31a4920a33f0d1e7db3ba2132eaad67e9bdc056cf4c52bdfd01c6743984ca25748901ef392ac9188d258d07145f28e18ebaa55c3723521819f@3.39.76.251:30303"]
|
||||||
2
poohnet/config/el/template/node1/config.toml
Normal file
2
poohnet/config/el/template/node1/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@13.209.149.243:30303", "enode://d2f72fdba972c43471ab36f0d5a31cb0dfc8cf55ffe2675da32231031f58c2046cd9d957af37dce46df0dcb93d81ff76b14b9943b98a8d63c65523e51dfac385@3.37.37.195:30303", "enode://156bd1dcd1ecff31a4920a33f0d1e7db3ba2132eaad67e9bdc056cf4c52bdfd01c6743984ca25748901ef392ac9188d258d07145f28e18ebaa55c3723521819f@3.39.76.251:30303"]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"8532654ad638db3dee3836b22b35f7ca707428ca","crypto":{"cipher":"aes-128-ctr","ciphertext":"899f0bc02f51e5909ad32309a4b74b3707e6727304335a040d6f408f4ddd6baf","cipherparams":{"iv":"ab468e6192bb17e57b34e43f774da15b"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"404f28bc8f86196d0b3655669bf459418cfef37341ca32b134764ff873ac5333"},"mac":"eb48ea19976c51693b3e21e2fca244bd583987f3079e89c9e65dc74719002936"},"id":"cdf2afc4-bb2e-44c7-8b5b-193400f5f37b","version":3}
|
||||||
2
poohnet/config/el/template/node2/config.toml
Normal file
2
poohnet/config/el/template/node2/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@13.209.149.243:30303", "enode://d2f72fdba972c43471ab36f0d5a31cb0dfc8cf55ffe2675da32231031f58c2046cd9d957af37dce46df0dcb93d81ff76b14b9943b98a8d63c65523e51dfac385@3.37.37.195:30303", "enode://156bd1dcd1ecff31a4920a33f0d1e7db3ba2132eaad67e9bdc056cf4c52bdfd01c6743984ca25748901ef392ac9188d258d07145f28e18ebaa55c3723521819f@3.39.76.251:30303"]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"997c277946420aff5ded06d0f52725b17fa1971a","crypto":{"cipher":"aes-128-ctr","ciphertext":"8d71ff82a0232d68c0fe7a6e05f179aa714b880f1a6bbc6c9c353fd9ee713631","cipherparams":{"iv":"f8c83e25856377c32898767bc86597d1"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"f14720941b73af1fca91147337c2003a8bedab4566ae118d53c1e191424047d1"},"mac":"c3649244b46344ef7c58cc491e48a8a4b486e8f45907bc4e6ab0e294252e1f15"},"id":"ef91fac8-1182-4e33-b9b9-90de7b7e286c","version":3}
|
||||||
2
poohnet/config/el/template/node3/config.toml
Normal file
2
poohnet/config/el/template/node3/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@13.209.149.243:30303", "enode://d2f72fdba972c43471ab36f0d5a31cb0dfc8cf55ffe2675da32231031f58c2046cd9d957af37dce46df0dcb93d81ff76b14b9943b98a8d63c65523e51dfac385@3.37.37.195:30303", "enode://156bd1dcd1ecff31a4920a33f0d1e7db3ba2132eaad67e9bdc056cf4c52bdfd01c6743984ca25748901ef392ac9188d258d07145f28e18ebaa55c3723521819f@3.39.76.251:30303"]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"755f5326dbb7ba8b95d544e55faaf7634e2b8559","crypto":{"cipher":"aes-128-ctr","ciphertext":"48e311e7e84c3f79aa9540134d16427f288d9f246e0bfe2f1a03cbc4a8b0db4a","cipherparams":{"iv":"b046be71153b100141b7dbf71feda69a"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"69423416b86630f6752a2dc6588758b9fa349d78dc8eb994451b3a1863d761b6"},"mac":"625768daa798af617146b7e05f424a3cfd51febbc3bfa5ce06db2d1badf084ee"},"id":"df6c4e43-ccff-4618-882c-10c824757a4b","version":3}
|
||||||
85
poohnet/config/pooh-scan/config.yml
Normal file
85
poohnet/config/pooh-scan/config.yml
Normal file
|
|
@ -0,0 +1,85 @@
|
||||||
|
# Database credentials
|
||||||
|
readerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
writerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
|
||||||
|
# Chain network configuration
|
||||||
|
chain:
|
||||||
|
configPath: /home/ubuntu/agoranet/devnet/config/cl/chain-config.yaml
|
||||||
|
genesisTimestamp: 1667667600
|
||||||
|
|
||||||
|
# Note: It is possible to run either the frontend or the indexer or both at the same time
|
||||||
|
# Frontend config
|
||||||
|
frontend:
|
||||||
|
enabled: true # Enable or disable to web frontend
|
||||||
|
imprint: "templates/imprint.example.html" # Path to the imprint page content
|
||||||
|
siteName: "BOSagora Consensus Explorer" # Name of the site, displayed in the title tag
|
||||||
|
siteSubtitle: "BOSagora Devnet" # Subtitle shown on the main page
|
||||||
|
csrfAuthKey: '0123456789abcdef000000000000000000000000000000000000000000000000'
|
||||||
|
jwtSigningSecret: "0123456789abcdef000000000000000000000000000000000000000000000000"
|
||||||
|
jwtIssuer: "agorascan.io"
|
||||||
|
jwtValidityInMinutes: 30
|
||||||
|
server:
|
||||||
|
host: "0.0.0.0" # Address to listen on
|
||||||
|
port: "3333" # Port to listen on
|
||||||
|
readerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
writerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
sessionSecret: "a05b7224e46c2a02bf933fff596a35367c8355ba20b95704f7e1edc524d1c913"
|
||||||
|
email:
|
||||||
|
smtp:
|
||||||
|
server: "<emailserver>"
|
||||||
|
host: "<emailhost>"
|
||||||
|
user: "<emailuser>"
|
||||||
|
password: "<emailpassword>"
|
||||||
|
flashSecret: "" # Encryption secret for flash cookies
|
||||||
|
# Indexer config
|
||||||
|
indexer:
|
||||||
|
enabled: true # Enable or disable the indexing service
|
||||||
|
fixCanonOnStartup: false
|
||||||
|
fullIndexOnStartup: false # Perform a one time full db index on startup
|
||||||
|
indexMissingEpochsOnStartup: false # Check for missing epochs and export them after startup
|
||||||
|
checkAllBlocksOnStartup: false
|
||||||
|
updateAllEpochStatistics: false
|
||||||
|
|
||||||
|
node:
|
||||||
|
host: "localhost" # Address of the backend node
|
||||||
|
port: "4000" # GRPC port of the Prysm node
|
||||||
|
type: "prysm" # can be either prysm or lighthouse
|
||||||
|
pageSize: 500 # the amount of entries to fetch per paged rpc call, TODO set to 500
|
||||||
|
eth1Endpoint: "/home/ubuntu/.agora/el/geth.ipc"
|
||||||
|
eth1DepositContractAddress: "0x720C56DB8f81cd68BBDFe1aAC8B3EB66e6Dea0d5"
|
||||||
|
eth1DepositContractFirstBlock: 22
|
||||||
|
OneTimeExport:
|
||||||
|
enabled: false
|
||||||
|
pubkeyTagsExporter:
|
||||||
|
enabled: false
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
address: 0.0.0.0:8085
|
||||||
|
notifications:
|
||||||
|
enabled: false
|
||||||
|
SSVExporter:
|
||||||
|
enabled: false
|
||||||
|
rocketpoolExporter:
|
||||||
|
enabled: false
|
||||||
|
ethStoreExporter:
|
||||||
|
enabled: false
|
||||||
31
poohnet/config/pooh-scan/docker-compose.yml
Normal file
31
poohnet/config/pooh-scan/docker-compose.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
version: '2.4'
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:12.0
|
||||||
|
container_name: postgres
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=pass
|
||||||
|
- POSTGRES_USER=postgres
|
||||||
|
- POSTGRES_DB=db
|
||||||
|
- PGDATA=/postgresql/data
|
||||||
|
volumes:
|
||||||
|
- db:/postgresql/data
|
||||||
|
network_mode: host
|
||||||
|
|
||||||
|
go:
|
||||||
|
image: golang:1.18
|
||||||
|
container_name: golang
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ~/agora-scan/:/usr/src/app
|
||||||
|
working_dir: /usr/src/app
|
||||||
|
network_mode: host
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
command: /bin/sh
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
1
poohnet/config4pos/el/bootkey/bootkey1
Normal file
1
poohnet/config4pos/el/bootkey/bootkey1
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
a7eef3b510d278bc02cdeeea409e8cd27daf789df5ab6da0dff62eb07f5bed8e
|
||||||
71
poohnet/config4pos/el/genesis.json
Normal file
71
poohnet/config4pos/el/genesis.json
Normal file
File diff suppressed because one or more lines are too long
32
poohnet/config4pos/el/genesis_bosagora.json
Normal file
32
poohnet/config4pos/el/genesis_bosagora.json
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"chainId": 12302,
|
||||||
|
"homesteadBlock": 0,
|
||||||
|
"eip150Block": 0,
|
||||||
|
"eip155Block": 0,
|
||||||
|
"eip158Block": 0,
|
||||||
|
"byzantiumBlock": 0,
|
||||||
|
"constantinopleBlock": 0,
|
||||||
|
"petersburgBlock": 0,
|
||||||
|
"istanbulBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"londonBlock": 0,
|
||||||
|
"arrowglacierBlock": 0,
|
||||||
|
"clique": {
|
||||||
|
"period": 14,
|
||||||
|
"epoch": 30000
|
||||||
|
},
|
||||||
|
"bosagoraBlock": 100,
|
||||||
|
"bosagora": {
|
||||||
|
"commonsBudget": "0xf1f0AF73A72D392433BE2c2A6596062632efE433",
|
||||||
|
"commonsBudgetReward": 120000000000000000000,
|
||||||
|
"lastCommonsBudgetRewardBlock": 15000100
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"difficulty": "1",
|
||||||
|
"gasLimit": "8000000",
|
||||||
|
"extradata": "0x00000000000000000000000000000000000000000000000000000000000000008532654aD638Db3deE3836B22B35f7Ca707428ca997C277946420AfF5deD06D0f52725B17fA1971A755f5326dbB7BA8B95d544E55fAAf7634e2B85590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"alloc": {
|
||||||
|
"8B595d325485a0Ca9d41908cAbF265E23C172847": { "balance": "5000000000000000000000000000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
36
poohnet/config4pos/el/genesis_merge.json
Normal file
36
poohnet/config4pos/el/genesis_merge.json
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"chainId": 12302,
|
||||||
|
"homesteadBlock": 0,
|
||||||
|
"eip150Block": 0,
|
||||||
|
"eip155Block": 0,
|
||||||
|
"eip158Block": 0,
|
||||||
|
"byzantiumBlock": 0,
|
||||||
|
"constantinopleBlock": 0,
|
||||||
|
"petersburgBlock": 0,
|
||||||
|
"istanbulBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"londonBlock": 0,
|
||||||
|
"arrowglacierBlock": 0,
|
||||||
|
"grayGlacierBlock": 0,
|
||||||
|
"mergeNetsplitBlock": 1200,
|
||||||
|
"terminalTotalDifficulty": 2800,
|
||||||
|
"TerminalTotalDifficultyPassed": false,
|
||||||
|
"clique": {
|
||||||
|
"period": 14,
|
||||||
|
"epoch": 30000
|
||||||
|
},
|
||||||
|
"bosagoraBlock": 100,
|
||||||
|
"bosagora": {
|
||||||
|
"commonsBudget": "0xf1f0AF73A72D392433BE2c2A6596062632efE433",
|
||||||
|
"commonsBudgetReward": 120000000000000000000,
|
||||||
|
"lastCommonsBudgetRewardBlock": 15000100
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"difficulty": "1",
|
||||||
|
"gasLimit": "8000000",
|
||||||
|
"extradata": "0x00000000000000000000000000000000000000000000000000000000000000008532654aD638Db3deE3836B22B35f7Ca707428ca997C277946420AfF5deD06D0f52725B17fA1971A755f5326dbB7BA8B95d544E55fAAf7634e2B85590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"alloc": {
|
||||||
|
"8B595d325485a0Ca9d41908cAbF265E23C172847": { "balance": "5000000000000000000000000000" }
|
||||||
|
}
|
||||||
|
}
|
||||||
1
poohnet/config4pos/el/nodekey/nodekey1
Normal file
1
poohnet/config4pos/el/nodekey/nodekey1
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
524e612e9d2c3cc8f607f2fd7019f96514851bc4b79226f4398dd6fe233eca9a
|
||||||
1
poohnet/config4pos/el/nodekey/nodekey2
Normal file
1
poohnet/config4pos/el/nodekey/nodekey2
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
705a49839de2c71ba2f4196459a7e40e71d51fc4dc50c18f97186f0c6106d06f
|
||||||
1
poohnet/config4pos/el/nodekey/nodekey3
Normal file
1
poohnet/config4pos/el/nodekey/nodekey3
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
a531b428e78074ce51eda591be86b889b1b6ffb61e52855573e13e1417ebf8e1
|
||||||
1
poohnet/config4pos/el/password.txt
Normal file
1
poohnet/config4pos/el/password.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
boa2022!@
|
||||||
2
poohnet/config4pos/el/template/node0/config.toml
Normal file
2
poohnet/config4pos/el/template/node0/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"]
|
||||||
2
poohnet/config4pos/el/template/node1/config.toml
Normal file
2
poohnet/config4pos/el/template/node1/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"8532654ad638db3dee3836b22b35f7ca707428ca","crypto":{"cipher":"aes-128-ctr","ciphertext":"899f0bc02f51e5909ad32309a4b74b3707e6727304335a040d6f408f4ddd6baf","cipherparams":{"iv":"ab468e6192bb17e57b34e43f774da15b"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"404f28bc8f86196d0b3655669bf459418cfef37341ca32b134764ff873ac5333"},"mac":"eb48ea19976c51693b3e21e2fca244bd583987f3079e89c9e65dc74719002936"},"id":"cdf2afc4-bb2e-44c7-8b5b-193400f5f37b","version":3}
|
||||||
2
poohnet/config4pos/el/template/node2/config.toml
Normal file
2
poohnet/config4pos/el/template/node2/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"997c277946420aff5ded06d0f52725b17fa1971a","crypto":{"cipher":"aes-128-ctr","ciphertext":"8d71ff82a0232d68c0fe7a6e05f179aa714b880f1a6bbc6c9c353fd9ee713631","cipherparams":{"iv":"f8c83e25856377c32898767bc86597d1"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"f14720941b73af1fca91147337c2003a8bedab4566ae118d53c1e191424047d1"},"mac":"c3649244b46344ef7c58cc491e48a8a4b486e8f45907bc4e6ab0e294252e1f15"},"id":"ef91fac8-1182-4e33-b9b9-90de7b7e286c","version":3}
|
||||||
2
poohnet/config4pos/el/template/node3/config.toml
Normal file
2
poohnet/config4pos/el/template/node3/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[P2P]
|
||||||
|
StaticNodes = ["enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
{"address":"755f5326dbb7ba8b95d544e55faaf7634e2b8559","crypto":{"cipher":"aes-128-ctr","ciphertext":"48e311e7e84c3f79aa9540134d16427f288d9f246e0bfe2f1a03cbc4a8b0db4a","cipherparams":{"iv":"b046be71153b100141b7dbf71feda69a"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"69423416b86630f6752a2dc6588758b9fa349d78dc8eb994451b3a1863d761b6"},"mac":"625768daa798af617146b7e05f424a3cfd51febbc3bfa5ce06db2d1badf084ee"},"id":"df6c4e43-ccff-4618-882c-10c824757a4b","version":3}
|
||||||
85
poohnet/config4pos/pooh-scan/config.yml
Normal file
85
poohnet/config4pos/pooh-scan/config.yml
Normal file
|
|
@ -0,0 +1,85 @@
|
||||||
|
# Database credentials
|
||||||
|
readerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
writerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
|
||||||
|
# Chain network configuration
|
||||||
|
chain:
|
||||||
|
configPath: /home/ubuntu/agoranet/devnet/config/cl/chain-config.yaml
|
||||||
|
genesisTimestamp: 1667667600
|
||||||
|
|
||||||
|
# Note: It is possible to run either the frontend or the indexer or both at the same time
|
||||||
|
# Frontend config
|
||||||
|
frontend:
|
||||||
|
enabled: true # Enable or disable to web frontend
|
||||||
|
imprint: "templates/imprint.example.html" # Path to the imprint page content
|
||||||
|
siteName: "BOSagora Consensus Explorer" # Name of the site, displayed in the title tag
|
||||||
|
siteSubtitle: "BOSagora Devnet" # Subtitle shown on the main page
|
||||||
|
csrfAuthKey: '0123456789abcdef000000000000000000000000000000000000000000000000'
|
||||||
|
jwtSigningSecret: "0123456789abcdef000000000000000000000000000000000000000000000000"
|
||||||
|
jwtIssuer: "agorascan.io"
|
||||||
|
jwtValidityInMinutes: 30
|
||||||
|
server:
|
||||||
|
host: "0.0.0.0" # Address to listen on
|
||||||
|
port: "3333" # Port to listen on
|
||||||
|
readerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
writerDatabase:
|
||||||
|
user: "postgres"
|
||||||
|
name: "db"
|
||||||
|
host: "localhost"
|
||||||
|
port: "5432"
|
||||||
|
password: "pass"
|
||||||
|
sessionSecret: "a05b7224e46c2a02bf933fff596a35367c8355ba20b95704f7e1edc524d1c913"
|
||||||
|
email:
|
||||||
|
smtp:
|
||||||
|
server: "<emailserver>"
|
||||||
|
host: "<emailhost>"
|
||||||
|
user: "<emailuser>"
|
||||||
|
password: "<emailpassword>"
|
||||||
|
flashSecret: "" # Encryption secret for flash cookies
|
||||||
|
# Indexer config
|
||||||
|
indexer:
|
||||||
|
enabled: true # Enable or disable the indexing service
|
||||||
|
fixCanonOnStartup: false
|
||||||
|
fullIndexOnStartup: false # Perform a one time full db index on startup
|
||||||
|
indexMissingEpochsOnStartup: false # Check for missing epochs and export them after startup
|
||||||
|
checkAllBlocksOnStartup: false
|
||||||
|
updateAllEpochStatistics: false
|
||||||
|
|
||||||
|
node:
|
||||||
|
host: "localhost" # Address of the backend node
|
||||||
|
port: "4000" # GRPC port of the Prysm node
|
||||||
|
type: "prysm" # can be either prysm or lighthouse
|
||||||
|
pageSize: 500 # the amount of entries to fetch per paged rpc call, TODO set to 500
|
||||||
|
eth1Endpoint: "/home/ubuntu/.agora/el/geth.ipc"
|
||||||
|
eth1DepositContractAddress: "0x720C56DB8f81cd68BBDFe1aAC8B3EB66e6Dea0d5"
|
||||||
|
eth1DepositContractFirstBlock: 22
|
||||||
|
OneTimeExport:
|
||||||
|
enabled: false
|
||||||
|
pubkeyTagsExporter:
|
||||||
|
enabled: false
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
address: 0.0.0.0:8085
|
||||||
|
notifications:
|
||||||
|
enabled: false
|
||||||
|
SSVExporter:
|
||||||
|
enabled: false
|
||||||
|
rocketpoolExporter:
|
||||||
|
enabled: false
|
||||||
|
ethStoreExporter:
|
||||||
|
enabled: false
|
||||||
31
poohnet/config4pos/pooh-scan/docker-compose.yml
Normal file
31
poohnet/config4pos/pooh-scan/docker-compose.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
version: '2.4'
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:12.0
|
||||||
|
container_name: postgres
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=pass
|
||||||
|
- POSTGRES_USER=postgres
|
||||||
|
- POSTGRES_DB=db
|
||||||
|
- PGDATA=/postgresql/data
|
||||||
|
volumes:
|
||||||
|
- db:/postgresql/data
|
||||||
|
network_mode: host
|
||||||
|
|
||||||
|
go:
|
||||||
|
image: golang:1.18
|
||||||
|
container_name: golang
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ~/agora-scan/:/usr/src/app
|
||||||
|
working_dir: /usr/src/app
|
||||||
|
network_mode: host
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
command: /bin/sh
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
110
poohnet/docker-compose-node-pos.yml
Normal file
110
poohnet/docker-compose-node-pos.yml
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
rpc:
|
||||||
|
container_name: pow-node
|
||||||
|
image: linked0/poohnet-pow:latest
|
||||||
|
ports:
|
||||||
|
- "8545:8545"
|
||||||
|
- "30303:30303"
|
||||||
|
- "30303:30303/udp"
|
||||||
|
- "6060:6060"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- $HOME/.pooh/el:/data
|
||||||
|
- ./:/root
|
||||||
|
command:
|
||||||
|
--datadir=/data
|
||||||
|
--syncmode=full
|
||||||
|
--networkid=12302
|
||||||
|
--bootnodes="enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"
|
||||||
|
--allow-insecure-unlock=true
|
||||||
|
--unlock=0x8532654aD638Db3deE3836B22B35f7Ca707428ca
|
||||||
|
--password=/root/password.txt
|
||||||
|
--mine=true
|
||||||
|
--rpc.allow-unprotected-txs
|
||||||
|
--metrics
|
||||||
|
--metrics.addr=0.0.0.0
|
||||||
|
--metrics.port=6060
|
||||||
|
--miner.etherbase=0x8532654aD638Db3deE3836B22B35f7Ca707428ca
|
||||||
|
--http
|
||||||
|
--http.addr="0.0.0.0"
|
||||||
|
--http.port=8545
|
||||||
|
--http.corsdomain="*"
|
||||||
|
--http.api="eth,net,txpool,web3"
|
||||||
|
--http.vhosts="*"
|
||||||
|
--ws
|
||||||
|
--ws.port=8546
|
||||||
|
--ws.api="eth,net,txpool,web3"
|
||||||
|
--ws.origins="*"
|
||||||
|
|
||||||
|
el:
|
||||||
|
container_name: pow-node
|
||||||
|
image: linked0/poohnet-pow:latest
|
||||||
|
ports:
|
||||||
|
- "8545:8545"
|
||||||
|
- "30303:30303"
|
||||||
|
- "30303:30303/udp"
|
||||||
|
- "6060:6060"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- $HOME/.pooh/el:/data
|
||||||
|
- ./:/root
|
||||||
|
command:
|
||||||
|
--datadir=/data
|
||||||
|
--syncmode=full
|
||||||
|
--networkid=12302
|
||||||
|
--bootnodes="enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"
|
||||||
|
--allow-insecure-unlock=true
|
||||||
|
--unlock=0x997c277946420aff5ded06d0f52725b17fa1971a
|
||||||
|
--password=/root/password.txt
|
||||||
|
--mine=true
|
||||||
|
--metrics
|
||||||
|
--metrics.addr=0.0.0.0
|
||||||
|
--metrics.port=6060
|
||||||
|
--miner.etherbase=0x997c277946420aff5ded06d0f52725b17fa1971a
|
||||||
|
--http
|
||||||
|
--http.addr="0.0.0.0"
|
||||||
|
--http.port=8545
|
||||||
|
--http.corsdomain="*"
|
||||||
|
--http.api="eth,net,txpool,web3"
|
||||||
|
--http.vhosts="*"
|
||||||
|
--ws
|
||||||
|
--ws.port=8546
|
||||||
|
--ws.api="eth,net,txpool,web3"
|
||||||
|
--ws.origins="*"
|
||||||
|
|
||||||
|
el2:
|
||||||
|
container_name: pow-node
|
||||||
|
image: linked0/poohnet-pow:latest
|
||||||
|
ports:
|
||||||
|
- "8545:8545"
|
||||||
|
- "30303:30303"
|
||||||
|
- "30303:30303/udp"
|
||||||
|
- "6060:6060"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- $HOME/.pooh/el:/data
|
||||||
|
- ./:/root
|
||||||
|
command:
|
||||||
|
--datadir=/data
|
||||||
|
--syncmode=full
|
||||||
|
--networkid=12302
|
||||||
|
--bootnodes="enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@15.165.195.41:30303"
|
||||||
|
--allow-insecure-unlock=true
|
||||||
|
--unlock=755f5326dbb7ba8b95d544e55faaf7634e2b8559
|
||||||
|
--password=/root/password.txt
|
||||||
|
--mine=true
|
||||||
|
--metrics
|
||||||
|
--metrics.addr=0.0.0.0
|
||||||
|
--metrics.port=6060
|
||||||
|
--miner.etherbase=755f5326dbb7ba8b95d544e55faaf7634e2b8559
|
||||||
|
--http
|
||||||
|
--http.addr="0.0.0.0"
|
||||||
|
--http.port=8545
|
||||||
|
--http.corsdomain="*"
|
||||||
|
--http.api="eth,net,txpool,web3"
|
||||||
|
--http.vhosts="*"
|
||||||
|
--ws
|
||||||
|
--ws.port=8546
|
||||||
|
--ws.api="eth,net,txpool,web3"
|
||||||
|
--ws.origins="*"
|
||||||
74
poohnet/docker-compose-node.yml
Normal file
74
poohnet/docker-compose-node.yml
Normal file
|
|
@ -0,0 +1,74 @@
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
rpc:
|
||||||
|
container_name: pow-node
|
||||||
|
image: linked0/poohnet-pow:latest
|
||||||
|
ports:
|
||||||
|
- "8545:8545"
|
||||||
|
- "30303:30303"
|
||||||
|
- "30303:30303/udp"
|
||||||
|
- "6060:6060"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- $HOME/.pooh/el:/data
|
||||||
|
- ./:/root
|
||||||
|
command:
|
||||||
|
--datadir=/data
|
||||||
|
--syncmode=full
|
||||||
|
--networkid=12301
|
||||||
|
--bootnodes="enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@13.209.149.243:30303"
|
||||||
|
--allow-insecure-unlock=true
|
||||||
|
--unlock=0x8532654aD638Db3deE3836B22B35f7Ca707428ca
|
||||||
|
--password=/root/password.txt
|
||||||
|
--mine=true
|
||||||
|
--rpc.allow-unprotected-txs
|
||||||
|
--metrics
|
||||||
|
--metrics.addr=0.0.0.0
|
||||||
|
--metrics.port=6060
|
||||||
|
--miner.etherbase=0x8532654aD638Db3deE3836B22B35f7Ca707428ca
|
||||||
|
--http
|
||||||
|
--http.addr="0.0.0.0"
|
||||||
|
--http.port=8545
|
||||||
|
--http.corsdomain="*"
|
||||||
|
--http.api="eth,net,txpool,web3"
|
||||||
|
--http.vhosts="*"
|
||||||
|
--ws
|
||||||
|
--ws.port=8546
|
||||||
|
--ws.api="eth,net,txpool,web3"
|
||||||
|
--ws.origins="*"
|
||||||
|
|
||||||
|
el:
|
||||||
|
container_name: pow-node
|
||||||
|
image: linked0/poohnet-pow:latest
|
||||||
|
ports:
|
||||||
|
- "8545:8545"
|
||||||
|
- "30303:30303"
|
||||||
|
- "30303:30303/udp"
|
||||||
|
- "6060:6060"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- $HOME/.pooh/el:/data
|
||||||
|
- ./:/root
|
||||||
|
command:
|
||||||
|
--datadir=/data
|
||||||
|
--syncmode=full
|
||||||
|
--networkid=12301
|
||||||
|
--bootnodes="enode://6d59a1ce195d9251e8f5234b3dbd486cf15eeac6cb8199898af3e11b9b7f5c54e334317d1cc3ab8077360383bc08b8aa93299ccb169b55dbea59414847dbce2d@13.209.149.243:30303"
|
||||||
|
--allow-insecure-unlock=true
|
||||||
|
--unlock=0x997c277946420aff5ded06d0f52725b17fa1971a
|
||||||
|
--password=/root/password.txt
|
||||||
|
--mine=true
|
||||||
|
--metrics
|
||||||
|
--metrics.addr=0.0.0.0
|
||||||
|
--metrics.port=6060
|
||||||
|
--miner.etherbase=0x997c277946420aff5ded06d0f52725b17fa1971a
|
||||||
|
--http
|
||||||
|
--http.addr="0.0.0.0"
|
||||||
|
--http.port=8545
|
||||||
|
--http.corsdomain="*"
|
||||||
|
--http.api="eth,net,txpool,web3"
|
||||||
|
--http.vhosts="*"
|
||||||
|
--ws
|
||||||
|
--ws.port=8546
|
||||||
|
--ws.api="eth,net,txpool,web3"
|
||||||
|
--ws.origins="*"
|
||||||
29
poohnet/enode
Executable file
29
poohnet/enode
Executable file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
if [ -z $1 ]
|
||||||
|
then
|
||||||
|
echo "No parameter passed"
|
||||||
|
exit
|
||||||
|
elsef
|
||||||
|
echo "Chain: $1"
|
||||||
|
fi
|
||||||
|
chain=$1
|
||||||
|
|
||||||
|
if [ -z $2 ]
|
||||||
|
then
|
||||||
|
echo "No second parameter passed"
|
||||||
|
exit
|
||||||
|
elsef
|
||||||
|
echo "Node service: $2"
|
||||||
|
fi
|
||||||
|
service=$2
|
||||||
|
|
||||||
|
if [ "$chain" = "pow" ]
|
||||||
|
then
|
||||||
|
docker compose -f docker-compose-node.yml up $service -d
|
||||||
|
elif [ "$chain" = "pos" ]
|
||||||
|
then
|
||||||
|
docker compose -f docker-compose-node-pos.yml up $service -d
|
||||||
|
else
|
||||||
|
echo "Invalid config parameter"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
55
poohnet/init
Executable file
55
poohnet/init
Executable file
|
|
@ -0,0 +1,55 @@
|
||||||
|
#!/bin/sh
|
||||||
|
if [ -z $1 ]
|
||||||
|
then
|
||||||
|
echo "No parameter passed"
|
||||||
|
exit
|
||||||
|
elsef
|
||||||
|
echo "Config: $1"
|
||||||
|
fi
|
||||||
|
config=$1
|
||||||
|
|
||||||
|
if [ -z $2 ]
|
||||||
|
then
|
||||||
|
echo "No second parameter passed"
|
||||||
|
exit
|
||||||
|
elsef
|
||||||
|
echo "Node: $2"
|
||||||
|
fi
|
||||||
|
number=$2
|
||||||
|
|
||||||
|
sudo rm -rf $HOME/.pooh/el
|
||||||
|
mkdir -p $HOME/.pooh/el
|
||||||
|
sudo rm -rf /home/ubuntu/.pooh/el
|
||||||
|
mkdir $HOME/.pooh/el
|
||||||
|
mkdir $HOME/.pooh/el/geth
|
||||||
|
mkdir $HOME/.pooh/el/keystore
|
||||||
|
|
||||||
|
if [ "$config" = "pow" ]
|
||||||
|
then
|
||||||
|
config_folder="config"
|
||||||
|
elif [ "$config" = "pos" ]
|
||||||
|
then
|
||||||
|
config_folder="config4pos"
|
||||||
|
else
|
||||||
|
echo "Invalid config parameter"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
echo "Configure folder: $config_folder"
|
||||||
|
|
||||||
|
cp -rf ./$config_folder/el/template/node$number/* $HOME/.pooh/el
|
||||||
|
|
||||||
|
docker run -it \
|
||||||
|
-v $HOME/.pooh/el:/data \
|
||||||
|
-v ./$config_folder/el:/config \
|
||||||
|
--name pow-node --rm \
|
||||||
|
linked0/poohnet-pow:latest \
|
||||||
|
--datadir=/data \
|
||||||
|
init \
|
||||||
|
/config/genesis.json
|
||||||
|
|
||||||
|
|
||||||
|
if [ $number -ne 0 ]
|
||||||
|
then
|
||||||
|
cp -f ./$config_folder/el/nodekey/nodekey$number $HOME/.pooh/el/geth/nodekey
|
||||||
|
fi
|
||||||
|
|
||||||
1
poohnet/password.txt
Normal file
1
poohnet/password.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
boa2022!@
|
||||||
2
poohnet/pos_el
Executable file
2
poohnet/pos_el
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
./enode pos el
|
||||||
2
poohnet/pos_el2
Executable file
2
poohnet/pos_el2
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
./enode pos el2
|
||||||
2
poohnet/pos_rpc
Executable file
2
poohnet/pos_rpc
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
./enode pos rpc
|
||||||
2
poohnet/pow_el
Executable file
2
poohnet/pow_el
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
./enode pow el
|
||||||
2
poohnet/pow_el2
Executable file
2
poohnet/pow_el2
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
./enode pow el2
|
||||||
2
poohnet/pow_rpc
Executable file
2
poohnet/pow_rpc
Executable file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
./enode pow rpc
|
||||||
4
poohnet/stop
Executable file
4
poohnet/stop
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker stop pow-node
|
||||||
|
docker rm pow-node
|
||||||
Loading…
Reference in a new issue