tycho garen
d3a421b136
rename NewABCIClient to NewClient
2021-09-17 15:27:21 -04:00
tycho garen
fac73f065b
merge
2021-09-17 14:44:54 -04:00
tycho garen
feb21aa621
rename stutter
2021-09-17 14:29:05 -04:00
tycho garen
152f2ac807
s/abcicli/abciclient/
2021-09-17 14:29:05 -04:00
tycho garen
9e18d0c9f4
move client creator constructors
2021-09-17 14:29:05 -04:00
tycho garen
bf38bef554
fix lint
2021-09-17 14:29:05 -04:00
tycho garen
e33cc23eb0
proxy: move proxy package to internal
2021-09-17 14:29:05 -04:00
tycho garen
6ae687d3c7
move client creator constructors
2021-09-17 09:10:20 -04:00
tycho garen
f763668546
fix lint
2021-09-16 13:55:01 -04:00
tycho garen
e4f21036c2
proxy: move proxy package to internal
2021-09-16 11:41:47 -04:00
Sam Kleinman
c4df8a3840
types: move mempool error for consistency ( #6875 )
...
This is a little change just to make things more consistent ahead of
the 0.35 release.
2021-08-30 17:42:58 +00:00
William Banfield
dc7c212c41
mempool/v1: test reactor does not panic on broadcast ( #6772 )
...
This changes adds a failing test for issue #6660 . It achieves this by adding a transaction, starting the `broadcastTxRoutine` in a goroutine and then adding another transaction to the mempool. The `broadcastTxRoutine` can receive the second inserted transaction before `insertTx` returns. In that case, `broadcastTxRoutine` will derefence a nil pointer when referencing the `gossipEl` and panic.
2021-08-02 13:02:43 +00:00
Aleksandr Bezobchuk
4f73748bc8
mempool v1: tweak broadcastTxRoutine ( #6771 )
2021-07-27 15:34:06 -04: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
Aleksandr Bezobchuk
68ffe8bc64
mempool: add TTL configuration to mempool ( #6715 )
2021-07-19 15:54:44 -04:00
William Banfield
fdc246e4a8
libs/clist: revert clear and detach changes while debugging ( #6731 )
2021-07-17 12:10:53 -04:00
Marko
363ea56680
abci: remove counter app ( #6684 )
...
* remove counter app
* remove unneeeded ci
* lint fix
* modify tx sizes
* cleanup docs
* Update abci/cmd/abci-cli/abci-cli.go
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* Update docs/app-dev/getting-started.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* Update docs/app-dev/getting-started.md
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
* bring back comment
* migrate to kvstore and not persistent
* remove unused func
* test persistent
Co-authored-by: Callum Waters <cmwaters19@gmail.com >
2021-07-12 14:55:32 +00:00
Aleksandr Bezobchuk
1dec3e139a
add stacktrace to panic logs ( #6662 )
2021-07-06 14:26:18 -04:00
JayT106
d66d1ada5b
libs/CList: automatically detach the prev/next elements in Remove function ( #6626 )
...
closes #2207
Also added `Clear()` function if we want to clear whole elements in CList.
2021-06-30 08:47:25 +00:00
Marko
f8dbbae55e
mempool: move errors to be public ( #6613 )
...
## Description
Move mempool errors to be public, this is used in handling abci error codes
2021-06-29 08:59:06 +00:00
Sam Kleinman
917180dfd2
p2p: reduce buffering on channels ( #6609 )
...
Having smaller buffers in each reactor/channel will mean that there will be fewer stale messages.
2021-06-24 20:38:35 +00:00
Sam Kleinman
ae5f98881b
p2p: make NodeID and NetAddress public ( #6583 )
2021-06-24 09:59:14 -04:00
Sam Kleinman
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
2021-06-08 08:17:09 -04:00