mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
e02d6acc7d
* save progress * try now * don't create bloom inside rlpDecode * don't create bloom inside ApplyTransaction * clean * clean * clean * clean * clean * clean * clean * clean * rename method * print timings * print timings * print timings * sort before flush * fix err lint * clean * move tests to transactions * compressed version * up bound * up bound * more tests * more tests * more tests * more tests * better removal * clean * better performance of get/put methods * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * optimize rpcdaemon * fix test * fix rpcdaemon * fix test * simplify * simplify * fix nil pointer * clean * revert some changes * add some logs * clean * try without optimize * clean * clean * clean * clean * try * move log_index to own stage * move log_index to own stage * integration add log_index stage * integration add log_index stage * clean * clean * print timing * remove duplicates at unwind * extract truncateBitmaps func * try detect * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * clean * add blackList of topics * clean * clean * clean * clean * clean * clean * clean * clean * sharding 1 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 2 * sharded 3 * sharded 3 * sharded 3 * speedup things by putCurrent and putReserve * clean * optimize trim * clean * remove blacklist * add more info to err * ? * clean * clean * clean * clean * clean * working version * switch to cgo version of roaring bitmaps * clean * clean * clean * clean * more docs * clean * clean * fix logs bloom field * Fix debug_getModifiedAccountsByNumber * Try to fix crash * fix problem with "absent block" * fix problem with "absent block" * remove optimize method call * remove roaring iterator * fix problem with rebuild indicess * remove debug prints * tests for eth_getLogs involving topics * add tests for new stage, speparate topics into 2 buckets * version up * remove debug logs * remove debug logs * remove bloom filter implementation * Optimisation * Optimisatin not required, make rpctest lenient to geth errors * Lenient to geth failures Co-authored-by: Alexey Akhunov <akhounov@gmail.com>
100 lines
2.5 KiB
HTTP
100 lines
2.5 KiB
HTTP
|
|
###
|
|
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{ "jsonrpc": "2.0", "method": "eth_syncing", "params": [], "id":1}
|
|
|
|
###
|
|
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{ "jsonrpc": "2.0", "method": "debug_accountRange", "params": ["0x1e8480", "", 256, false, false, false], "id":1}
|
|
|
|
###
|
|
|
|
# curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber", "params": ["0x1b4", true], "id":1}' localhost:8545
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"jsonrpc": "2.0",
|
|
"method": "eth_getBlockByNumber",
|
|
"params": [
|
|
"0x1b4",
|
|
true
|
|
],
|
|
"id": 1
|
|
}
|
|
|
|
###
|
|
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0xf4240",true],"id":2}
|
|
|
|
###
|
|
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"jsonrpc": "2.0",
|
|
"method": "debug_storageRangeAt",
|
|
"params": [
|
|
"0x4ced0bc30041f7f4e11ba9f341b54404770c7695dfdba6bb64b6ffeee2074177",
|
|
99,
|
|
"0x33990122638b9132ca29c723bdf037f1a891a70c",
|
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
1024
|
|
],
|
|
"id": 537758
|
|
}
|
|
### > 60
|
|
|
|
### >20
|
|
###{"jsonrpc":"2.0","method":"debug_storageRangeAt","params":["0x6e6ec30ba20b263d1bdf6d87a0b1b037ea595929ac10ad74f6b7e1890fdad744", 19,"0x793ae8c1b1a160bfc07bfb0d04f85eab1a71f4f2","0x0000000000000000000000000000000000000000000000000000000000000000",1024],"id":113911}
|
|
|
|
|
|
### {"jsonrpc":"2.0","mesthod":"debug_storageRangeAt","params":["0xbcb55dcb321899291d10818dd06eaaf939ff87a717ac40850b54c6b56e8936ff", 2,"0xca7c390f8f843a8c3036841fde755e5d0acb97da","0x0000000000000000000000000000000000000000000000000000000000000000",1024],"id":3836}
|
|
|
|
###{"jsonrpc":"2.0","method":"debug_storageRangeAt","params":["0xf212a7655339852bf58f7e1d66f82256d22d13ccba3068a9c47a635738698c84", 0,"0xb278e4cb20dfbf97e78f27001f6b15288302f4d7","0x0000000000000000000000000000000000000000000000000000000000000000",1024],"id":8970}
|
|
|
|
###
|
|
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"jsonrpc": "2.0",
|
|
"method": "eth_getTransactionReceipt",
|
|
"params": ["0xc05ce241bec59900356ede868d170bc01d743c3cd5ecb129ca99596593022771"],
|
|
"id": 537758
|
|
}
|
|
|
|
|
|
###
|
|
|
|
POST localhost:8545
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"jsonrpc": "2.0",
|
|
"method": "eth_getLogs",
|
|
"params": [
|
|
{
|
|
"address": "0x6090a6e47849629b7245dfa1ca21d94cd15878ef",
|
|
"fromBlock": "0x3d0000",
|
|
"toBlock": "0x3d2600",
|
|
"topics": [
|
|
null,
|
|
"0x374f3a049e006f36f6cf91b02a3b0ee16c858af2f75858733eb0e927b5b7126c"
|
|
]
|
|
}
|
|
],
|
|
"id": 537758
|
|
}
|