cmd/geth: LES priority client test (#20719)
This adds a regression test for the LES priority client API.
This commit is contained in:
BIN
cmd/geth/testdata/blockchain.blocks
vendored
Normal file
BIN
cmd/geth/testdata/blockchain.blocks
vendored
Normal file
Binary file not shown.
24
cmd/geth/testdata/clique.json
vendored
Normal file
24
cmd/geth/testdata/clique.json
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"config": {
|
||||
"chainId": 15,
|
||||
"homesteadBlock": 0,
|
||||
"eip150Block": 0,
|
||||
"eip155Block": 0,
|
||||
"eip158Block": 0,
|
||||
"byzantiumBlock": 0,
|
||||
"constantinopleBlock": 0,
|
||||
"petersburgBlock": 0,
|
||||
"clique": {
|
||||
"period": 5,
|
||||
"epoch": 30000
|
||||
}
|
||||
},
|
||||
"difficulty": "1",
|
||||
"gasLimit": "8000000",
|
||||
"extradata": "0x000000000000000000000000000000000000000000000000000000000000000002f0d131f1f97aef08aec6e3291b957d9efe71050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"alloc": {
|
||||
"02f0d131f1f97aef08aec6e3291b957d9efe7105": {
|
||||
"balance": "300000"
|
||||
}
|
||||
}
|
||||
}
|
1
cmd/geth/testdata/key.prv
vendored
Normal file
1
cmd/geth/testdata/key.prv
vendored
Normal file
@ -0,0 +1 @@
|
||||
48aa455c373ec5ce7fefb0e54f44a215decdc85b9047bc4d09801e038909bdbe
|
1
cmd/geth/testdata/password.txt
vendored
Normal file
1
cmd/geth/testdata/password.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
foobar
|
Reference in New Issue
Block a user