William Banfield and GitHub
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 and GitHub
68ffe8bc64
mempool: add TTL configuration to mempool ( #6715 )
2021-07-19 15:54:44 -04:00
William Banfield and GitHub
fdc246e4a8
libs/clist: revert clear and detach changes while debugging ( #6731 )
2021-07-17 12:10:53 -04:00
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 and GitHub
1dec3e139a
add stacktrace to panic logs ( #6662 )
2021-07-06 14:26:18 -04:00
JayT106 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
ae5f98881b
p2p: make NodeID and NetAddress public ( #6583 )
2021-06-24 09:59:14 -04:00
Sam Kleinman and GitHub
a855f96946
p2p: renames for reactors and routing layer internal moves ( #6547 )
2021-06-08 08:17:09 -04:00