neoneo-go/pkg/services
Anna Shaleva 82e52c4f6d rpcsrv: fix RPC error codes proposal compatibility
mempool.ErrInsufficientFunds is used when sender doesn't have enough
balance to pay the submitted transaction fees (-511 code according to
https://github.com/neo-project/proposals/pull/156). mempool.ErrConflict is
used when sender is not able to pay the overall transactions fee sum in
the pool (generic -500 error according to the proposal).

This bugfix is kind of breaking change for those users who relied on the
old -511 code previously returning "insufficient funds" error.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-03-18 18:05:19 +03:00
..
helpers/rpcbroadcaster *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
metrics services: update logs flush after services shutdown 2024-02-27 15:10:51 +03:00
notary notary: fix getCompletedTx error 2024-03-05 19:01:03 +03:00
oracle *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
rpcsrv rpcsrv: fix RPC error codes proposal compatibility 2024-03-18 18:05:19 +03:00
stateroot services: update logs flush after services shutdown 2024-02-27 15:10:51 +03:00