forked from Consensys/gpact
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
739 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
logging="INFO" | ||
#logging="DEBUG" | ||
data-path="/opt/besu/data" | ||
host-whitelist=["*"] | ||
|
||
# rpc | ||
rpc-http-enabled=true | ||
rpc-http-host="0.0.0.0" | ||
rpc-http-port=8545 | ||
# rpc-http-cors-origins=["*"] | ||
rpc-http-api = ["ETH", "NET", "WEB3"] | ||
#rpc-http-api = ["ETH", "NET", "WEB3", "EEA", "PERM", "IBFT"] | ||
|
||
|
||
# ws | ||
rpc-ws-enabled=true | ||
rpc-ws-host="0.0.0.0" | ||
rpc-ws-port=8546 | ||
rpc-ws-api = ["ETH", "NET", "WEB3", "EEA", "PERM", "IBFT"] | ||
|
||
# graphql | ||
#graphql-http-enabled=true | ||
#graphql-http-host="0.0.0.0" | ||
#graphql-http-port=8547 | ||
#graphql-http-cors-origins=["*"] | ||
|
||
# metrics | ||
#metrics-enabled=true | ||
#metrics-host="0.0.0.0" | ||
#metrics-port=9545 | ||
|
||
# permissions | ||
#permissions-nodes-config-file-enabled=true | ||
#permissions-nodes-config-file="/config/permissions_config.toml" | ||
|
||
# bootnodes | ||
bootnodes=["enode://c1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22@172.16.239.11:30303"] | ||
|
||
|
||
# Discovery at boot is set to a list of static files, but will also discover new nodes should they be added | ||
# static nodes | ||
static-nodes-file="/config/static-nodes.json" | ||
|
||
discovery-enabled=false | ||
|
||
|
||
#p2p-enabled = true | ||
#p2p-port = 30303 | ||
|
||
|
||
min-gas-price = "0" | ||
miner-extra-data = "0x0000000000000000000000000000000000000000000000000000000000003100" | ||
|
||
|
||
# Improve ability to debug by enabling revert reasons / require reasons. | ||
revert-reason-enabled=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"config":{ | ||
"chainId":31, | ||
"muirglacierblock":12965000, | ||
"constantinoplefixblock": 0, | ||
"clique":{ | ||
"blockperiodseconds":1, | ||
"epochlength":30000 | ||
} | ||
}, | ||
"coinbase":"0x0000000000000000000000000000000000000000", | ||
"difficulty":"0x1", | ||
"extraData":"0x00000000000000000000000000000000000000000000000000000000000000004592c8e45706cc08b8f44b11e43cba0cfc5892cb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"gasLimit":"0xa00000", | ||
"mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce":"0x0", | ||
"timestamp":"0x5c51a607", | ||
"alloc": { | ||
"fe3b557e8fb62b89f4916b721be55ceb828dbd73": { | ||
"privateKey": "8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", | ||
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored", | ||
"balance": "0xad78ebc5ac6200000" | ||
}, | ||
"627306090abaB3A6e1400e9345bC60c78a8BEf57": { | ||
"privateKey": "c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3", | ||
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored", | ||
"balance": "90000000000000000000000" | ||
}, | ||
"f17f52151EbEF6C7334FAD080c5704D77216b732": { | ||
"privateKey": "ae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f", | ||
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored", | ||
"balance": "90000000000000000000000" | ||
} | ||
}, | ||
"number":"0x0", | ||
"gasUsed":"0x0", | ||
"parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration status="INFO" monitorInterval="5"> | ||
|
||
<Properties> | ||
<Property name="root.log.level">INFO</Property> | ||
</Properties> | ||
|
||
<Appenders> | ||
<Console name="Console" target="SYSTEM_OUT"> | ||
<PatternLayout alwaysWriteExceptions="false" pattern='{"timestamp":"%d{ISO8601}","container":"${hostName}","level":"%level","thread":"%t","class":"%c{1}","message":"%msg","throwable":"%enc{%throwable}{JSON}"}%n'/> | ||
</Console> | ||
<RollingFile name="RollingFile" fileName="/tmp/besu/besu-${env:HOSTNAME}.log" filePattern="/temp/besu/besu-${env:HOSTNAME}.log" > | ||
<PatternLayout alwaysWriteExceptions="false" pattern='{"timestamp":"%d{ISO8601}","container":"${hostName}","level":"%level","thread":"%t","class":"%c{1}","message":"%msg","throwable":"%enc{%throwable}{JSON}"}%n'/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB" /> | ||
</Policies> | ||
</RollingFile> | ||
</Appenders> | ||
|
||
<Loggers> | ||
<Root level="${sys:root.log.level}"> | ||
<AppenderRef ref="RollingFile" /> | ||
<AppenderRef ref="Console" /> | ||
</Root> | ||
</Loggers> | ||
|
||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
"enode://c1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22@172.16.239.11:30303" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
logging="INFO" | ||
#logging="DEBUG" | ||
data-path="/opt/besu/data" | ||
host-whitelist=["*"] | ||
|
||
# rpc | ||
rpc-http-enabled=true | ||
rpc-http-host="0.0.0.0" | ||
rpc-http-port=8545 | ||
# rpc-http-cors-origins=["*"] | ||
rpc-http-api = ["ETH", "NET", "WEB3"] | ||
#rpc-http-api = ["ETH", "NET", "WEB3", "EEA", "PERM", "IBFT"] | ||
|
||
|
||
# ws | ||
rpc-ws-enabled=true | ||
rpc-ws-host="0.0.0.0" | ||
rpc-ws-port=8546 | ||
rpc-ws-api = ["ETH", "NET", "WEB3", "EEA", "PERM", "IBFT"] | ||
|
||
# graphql | ||
#graphql-http-enabled=true | ||
#graphql-http-host="0.0.0.0" | ||
#graphql-http-port=8547 | ||
#graphql-http-cors-origins=["*"] | ||
|
||
# metrics | ||
#metrics-enabled=true | ||
#metrics-host="0.0.0.0" | ||
#metrics-port=9545 | ||
|
||
# permissions | ||
#permissions-nodes-config-file-enabled=true | ||
#permissions-nodes-config-file="/config/permissions_config.toml" | ||
|
||
# bootnodes | ||
bootnodes=["enode://c1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22@172.16.239.12:30303"] | ||
|
||
|
||
# Discovery at boot is set to a list of static files, but will also discover new nodes should they be added | ||
# static nodes | ||
static-nodes-file="/config/static-nodes.json" | ||
|
||
discovery-enabled=false | ||
|
||
|
||
#p2p-enabled = true | ||
#p2p-port = 30303 | ||
|
||
|
||
min-gas-price = "0" | ||
miner-extra-data = "0x0000000000000000000000000000000000000000000000000000000000003100" | ||
|
||
|
||
# Improve ability to debug by enabling revert reasons / require reasons. | ||
revert-reason-enabled=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"config":{ | ||
"chainId":32, | ||
"muirglacierblock":12965000, | ||
"constantinoplefixblock": 0, | ||
"clique":{ | ||
"blockperiodseconds":1, | ||
"epochlength":30000 | ||
} | ||
}, | ||
"coinbase":"0x0000000000000000000000000000000000000000", | ||
"difficulty":"0x1", | ||
"extraData":"0x00000000000000000000000000000000000000000000000000000000000000004592c8e45706cc08b8f44b11e43cba0cfc5892cb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"gasLimit":"0xa00000", | ||
"mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"nonce":"0x0", | ||
"timestamp":"0x5c51a607", | ||
"alloc": { | ||
"fe3b557e8fb62b89f4916b721be55ceb828dbd73": { | ||
"privateKey": "8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", | ||
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored", | ||
"balance": "0xad78ebc5ac6200000" | ||
}, | ||
"627306090abaB3A6e1400e9345bC60c78a8BEf57": { | ||
"privateKey": "c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3", | ||
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored", | ||
"balance": "90000000000000000000000" | ||
}, | ||
"f17f52151EbEF6C7334FAD080c5704D77216b732": { | ||
"privateKey": "ae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f", | ||
"comment": "private key and this comment are ignored. In a real chain, the private key should NOT be stored", | ||
"balance": "90000000000000000000000" | ||
} | ||
}, | ||
"number":"0x0", | ||
"gasUsed":"0x0", | ||
"parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration status="INFO" monitorInterval="5"> | ||
|
||
<Properties> | ||
<Property name="root.log.level">INFO</Property> | ||
</Properties> | ||
|
||
<Appenders> | ||
<Console name="Console" target="SYSTEM_OUT"> | ||
<PatternLayout alwaysWriteExceptions="false" pattern='{"timestamp":"%d{ISO8601}","container":"${hostName}","level":"%level","thread":"%t","class":"%c{1}","message":"%msg","throwable":"%enc{%throwable}{JSON}"}%n'/> | ||
</Console> | ||
<RollingFile name="RollingFile" fileName="/tmp/besu/besu-${env:HOSTNAME}.log" filePattern="/temp/besu/besu-${env:HOSTNAME}.log" > | ||
<PatternLayout alwaysWriteExceptions="false" pattern='{"timestamp":"%d{ISO8601}","container":"${hostName}","level":"%level","thread":"%t","class":"%c{1}","message":"%msg","throwable":"%enc{%throwable}{JSON}"}%n'/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB" /> | ||
</Policies> | ||
</RollingFile> | ||
</Appenders> | ||
|
||
<Loggers> | ||
<Root level="${sys:root.log.level}"> | ||
<AppenderRef ref="RollingFile" /> | ||
<AppenderRef ref="Console" /> | ||
</Root> | ||
</Loggers> | ||
|
||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
"enode://c1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22@172.16.239.12:30303" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0fd4aecd8f02b24f468325aa06e1428ab8076d283bac3ed804c9f70187dedb63 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c1979a8a48693db804316b5acebe35e11731e1fb1c9c21ff7268ab25db6f6e03390a429b83cf0ec0865a7205f2669ec1ace652a3def11e2e01571c74939cbe22 |
Oops, something went wrong.