cmd/geth: LES priority client test (#20719)

This adds a regression test for the LES priority client API.
This commit is contained in:
Adam Schmideg
2020-07-01 10:31:11 +02:00
committed by GitHub
parent d671dbd5b7
commit ec51cbb5fb
5 changed files with 206 additions and 0 deletions

BIN
cmd/geth/testdata/blockchain.blocks vendored Normal file

Binary file not shown.

24
cmd/geth/testdata/clique.json vendored Normal file
View 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
View File

@ -0,0 +1 @@
48aa455c373ec5ce7fefb0e54f44a215decdc85b9047bc4d09801e038909bdbe

1
cmd/geth/testdata/password.txt vendored Normal file
View File

@ -0,0 +1 @@
foobar