William Banfield
af361ed219
lint++
2021-08-12 12:31:44 -04:00
William Banfield
182e4162ad
Merge branch 'master' into wb/issue-5908
2021-08-12 12:25:12 -04:00
Sam Kleinman
d56a44b884
node: minimize hardcoded service initialization ( #6798 )
...
* node: minimize hardcoded service initialization
* hacking
* nil safety
* reduce space
* remove genesis state store
* fix lint
* fix pex
* unwind some odering effects
* fix tests
* remove unused experiment
2021-08-12 13:38:17 +00:00
William Banfield
6c7dbec283
remove env refactor
2021-08-11 20:41:26 -04:00
William Banfield
75f549d408
remove env refactor
2021-08-11 20:38:43 -04:00
Sam Kleinman
cbfc04df6d
rpc: avoid panics in unsafe rpc calls with new p2p stack ( #6817 )
2021-08-11 13:20:01 -04:00
William Banfield
c37e4a43a2
refactor debug code into separate package and rename to inspect
2021-08-10 18:13:27 -04:00
William Banfield
c3561f1c03
Merge branch 'master' into wb/issue-5908
2021-08-06 14:20:53 -04:00
M. J. Fromberger
4cbaf70d1f
docs: fix a typo in the genesis_chunked description ( #6792 )
2021-08-03 15:08:23 -04:00
William Banfield
1f7ecbdaf3
add tx indexer routes
2021-08-02 17:06:42 -04:00
William Banfield
03ee71eac4
PR feedback fixes
2021-08-02 12:50:13 -04:00
William Banfield
df669c7bed
node: sketch of debug node logic
2021-08-02 12:08:15 -04:00
William Banfield
4e96c6b234
tools: add mockery to tools.go and remove mockery version strings ( #6787 )
...
This change aims to keep versions of mockery consistent across developer laptops.
This change adds mockery to the `tools.go` file so that its version can be managed consistently in the `go.mod` file.
Additionally, this change temporarily disables adding mockery's version number to generated files. There is an outstanding issue against the mockery project related to the version string behavior when running from `go get`. I have created a pull request to fix this issue in the mockery project.
see: https://github.com/vektra/mockery/issues/397
2021-07-30 20:47:15 +00:00
Callum Waters
02f8e4c0bd
blockstore: fix problem with seen commit ( #6782 )
2021-07-30 17:37:04 +02:00
Sam Kleinman
6a94b55d12
rpc: add documentation for genesis chunked api ( #6776 )
2021-07-28 14:20:40 -04:00
Callum Waters
6ff4c3139c
blockchain: rename to blocksync service ( #6755 )
2021-07-28 17:25:42 +02:00
William Banfield
84c15857e4
mempool: return mempool errors to the abci client ( #6740 )
...
This changes adds an `MempoolError` field to the `ResponseCheckTx`. This will allow clients to understand that their transaction was rejected from the mempool despite passing the ABCI check.
This change also updates the code to make use of early returns to prevent highly nested code blocks. Namely, it returns when the type assertion fails at the beginning of the method, instead of wrapping the entire method in a large if statement. This has a somewhat large effect on the diff as rendered by github.
addresses: #3546
2021-07-22 14:52:29 +00:00
William Banfield
f70396c6fd
add and run make target for generating existing mocks ( #6732 )
...
There are many `//go:generate mockery` lines in the source code.
This change adds a make target to invoke these mock generations.
This change also invokes the mock invocations and adds the resulting mocks to the repo.
Related to #5274
2021-07-18 00:46:04 +00:00
Marko
4f885209aa
RPC: mark grpc as deprecated ( #6725 )
...
## Description
Mark gRPC as deprecated in the RPC layer.
closes #6718
2021-07-15 22:05:21 +00:00
Callum Waters
c256edc622
fix evidence rpc test by extending wait time ( #6678 )
2021-07-08 14:43:41 +02:00
JayT106
d4cda544ae
fastsync/rpc: add TotalSyncedTime & RemainingTime to SyncInfo in /status RPC ( #6620 )
2021-07-07 07:26:01 -04:00
Callum Waters
ba41d29b50
revert returning empty block ( #6647 )
2021-07-04 23:11:07 +02:00
Aleksandr Bezobchuk
414130aee1
pubsub: Refactor Event Subscription ( #6634 )
2021-07-01 11:17:48 -04:00
JayT106
9d0817b308
Revert "rpc: re-index missing events ( #6535 )" ( #6631 )
...
This reverts commit 167fa738a3 .
2021-06-29 15:48:24 -04:00
JayT106
167fa738a3
rpc: re-index missing events ( #6535 )
2021-06-25 09:14:37 -04:00
crypto-facs
10d174adcc
rpc: Add TotalGasUsed to block_results response ( #6615 )
...
Closes #6551
Simple PR to add the total gas used in the block by adding the gas used in all the transactions.
This adds a `TotalGasUsed` field to `coretypes.ResultBlockResults`.
Its my first PR to the repo so let me know if there is anything I am missing!
@fedekunze In case you want to take a look
2021-06-24 17:47:41 +00: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
144af9a81a
rpc: use shorter path names for tests ( #6602 )
2021-06-21 09:44:49 -04:00
Callum Waters
c0f7fb08c0
config: add root dir to priv validator ( #6585 )
2021-06-16 17:13:14 +02:00
Sam Kleinman
886519e3ca
rpc: add subscription id to events ( #6386 )
...
Addresses #3931
2021-06-15 17:33:47 +00:00
JayT106
cb63ab4ac0
rpc: fix RPC client doesn't handle url's without ports ( #6507 )
2021-06-14 10:34:02 +02:00
Callum Waters
32bc399bdd
node: fix genesis on start up ( #6563 )
2021-06-10 10:22:35 +02:00
Callum Waters
6f6ac5c04e
state sync: reverse sync implementation ( #6463 )
2021-06-08 19:23:52 +02:00
Sam Kleinman
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
2021-06-08 08:17:09 -04:00
Aleksandr Bezobchuk
3635c7a382
logger: refactor Tendermint logger by using zerolog ( #6534 )
2021-06-07 08:30:48 -04:00
Sam Kleinman
00c284d9d7
node: change package interface ( #6540 )
2021-06-04 11:36:30 -04:00
Callum Waters
08b134ddbc
ws: parse remote addrs with trailing dash ( #6537 )
2021-06-04 17:07:50 +02:00
Sam Kleinman
663c0bba9c
rpc: decouple test fixtures from node implementation ( #6533 )
2021-06-04 09:10:38 -04:00
Aleksandr Bezobchuk
7ec123c968
improvement: update TxInfo ( #6529 )
...
Remove `Context` from the `TxInfo` type and instead require the caller to pass a `Context` to `CheckTx` which is idiomatic.
closes : #6497
2021-06-02 13:53:57 +00:00
Aleksandr Bezobchuk
1e4bc04cd6
mempool: v1 implementation ( #6466 )
2021-06-01 11:17:45 -04:00
JayT106
711a718162
config/indexer: custom event indexing ( #6411 )
2021-05-27 10:44:46 -04:00
Marko
719e028e00
libs: internalize some packages ( #6366 )
...
## Description
Internalize some libs. This reduces the amount ot public API tendermint is supporting. The moved libraries are mainly ones that are used within Tendermint-core.
2021-05-25 16:25:31 +00:00
Sam Kleinman
d9134063e7
rpc: add chunked rpc interface ( #6445 )
2021-05-24 09:48:27 -04:00
Sam Kleinman
fdd506a126
rpc: clean up client global state in tests ( #6438 )
2021-05-11 10:22:38 -04:00
Sam Kleinman
0b0914b3df
rpc: remove global environment ( #6426 )
2021-05-06 17:06:16 -04:00
Sam Kleinman
0407cd5258
github: fix linter configuration errors and occluded errors ( #6400 )
2021-04-28 11:08:42 -04:00
Ismail Khoffi
ee70430255
libs: remove most of libs/rand ( #6364 )
2021-04-23 16:00:35 +02:00
JayT106
43eacd159f
state/indexer: reconstruct indexer, move txindex into the indexer package ( #6382 )
2021-04-21 16:37:44 -04:00
JayT106
ca7dbea05b
Set cache control in the HTTP-RPC response header ( #6265 )
2021-04-14 14:05:27 +02:00