Sam Kleinman
bf77c0c544
rpc: support new p2p infrastructure ( #6820 )
2021-08-13 15:39:07 -04:00
Callum Waters
6ff4c3139c
blockchain: rename to blocksync service ( #6755 )
2021-07-28 17:25:42 +02:00
Sam Kleinman
9ffa7e8a2b
types: move NodeInfo from p2p ( #6618 )
2021-06-24 12:18:19 -04:00
JayT106
2cc872543b
rpc: add max peer block height into /status rpc call ( #6610 )
...
use `maxPeerBlockHeight` information to show the current network's best height.
Closes #3983
Relate to #3365
ref: the`highestBlock` in the response of `eth.isSyncing` call
https://web3js.readthedocs.io/en/v1.3.4/web3-eth.html#issyncing
2021-06-24 15:11:10 +00:00
Sam Kleinman
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
2021-06-08 08:17:09 -04:00
JayT106
711a718162
config/indexer: custom event indexing ( #6411 )
2021-05-27 10:44:46 -04:00
Sam Kleinman
d9134063e7
rpc: add chunked rpc interface ( #6445 )
2021-05-24 09:48:27 -04:00
Sam Kleinman
0b0914b3df
rpc: remove global environment ( #6426 )
2021-05-06 17:06:16 -04:00
JayT106
43eacd159f
state/indexer: reconstruct indexer, move txindex into the indexer package ( #6382 )
2021-04-21 16:37:44 -04:00
gotjoshua
f563bd4ff1
RPC: don't cap page size in unsafe mode ( #6329 )
2021-04-12 13:51:56 +02:00
Callum Waters
b272746444
Merge pull request from GHSA-f3w5-v9xx-rp8p
...
* add time warping lunatic attack test
* create too high and connecton refused errors and add to the light client provider
* add height check to provider
* introduce block lag
* add detection logic for processing forward lunatic attack
* add node-side verification logic
* clean up tests and formatting
* update adr's
* update testing
* fix fetching the latest block
* format
* update changelog
* implement suggestions
* modify ADR's
* format
* clean up node evidence verification
2021-04-08 08:10:03 -07:00
Aleksandr Bezobchuk
003f394512
rpc: index block events to support block event queries ( #6226 )
2021-03-22 11:47:35 -04:00
Bipul Prasad
90c290ac52
rpc: standardize error codes ( #6019 )
2021-02-18 17:54:02 +01:00
Marko
56911ee352
state: define interface for state store ( #5348 )
...
## Description
Make an interface for the state store.
Closes : #5213
2020-09-15 07:45:48 +00:00
Marko
b6a5f7b126
rpc: add private & unconditional to /dial_peer ( #5293 )
...
## Description
Allow dialing of private and unconditional peers through the RPC
Closes : #1705
2020-09-01 12:43:23 +00:00
Erik Grinaker
cc247c091b
genesis: add support for arbitrary initial height ( #5191 )
...
Adds a genesis parameter `initial_height` which specifies the initial block height, as well as ABCI `RequestInitChain.InitialHeight` to pass it to the ABCI application, and `State.InitialHeight` to keep track of the initial height throughout the code. Fixes #2543 , based on [RFC-002](https://github.com/tendermint/spec/pull/119 ). Spec changes in https://github.com/tendermint/spec/pull/135 .
2020-08-11 17:03:28 +00:00
Anton Kaliaev
257a374b78
rpc: add /check_tx endpoint ( #5017 )
...
Closes #4549
2020-06-19 09:25:52 +04:00
Anton Kaliaev
ce3c9c2341
rpc/core: return an error if page=0 ( #4947 )
...
* rpc/core: return an error if `page=0`
Closes #4942
affected endpoints:
- /validators
- /tx_search
* swagger: update doc for /unconfirmed_txs
2020-06-03 16:51:51 +04:00
Anton Kaliaev
e9897c82e5
rpc/core: do not lock ConsensusState mutex
...
in /validators, /consensus_params and /status
Closes #3161
2020-05-15 11:30:08 +00:00
Anton Kaliaev
379b1b85bc
rpc: use a struct to wrap all the global objects
...
Closes #3433
2020-05-13 08:13:17 +00:00