neoneo-go/pkg/services
Tatiana Nesterenko 9e31e42bd9 rpcsrv: add getrawnotarypool, getrawnotarytransaction handlers
`getrawnotarytransaction` takes a transaction hash and attempts to find
the corresponding transaction in the notary requests mempool. It searches
through all the verified main and fallback transactions.
`getrawnotarypool` returns hashes of all the verified transactions,
including both main and fallback transactions.

Additionally add struct result.RawNotaryPool.

Close https://github.com/nspcc-dev/neo-go/issues/2951

Signed-off-by: Tatiana Nesterenko <tatiana@nspcc.io>
2023-08-31 18:51:43 +01:00
..
helpers/rpcbroadcaster *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
metrics *: use CompareAndSwap instead of CAS for atomics 2023-04-28 12:07:19 +03:00
notary notary: avoid changing pooled fallback transaction witnesses 2023-08-29 16:06:40 +03:00
oracle oracle: make use of ReadCloser returned from NeoFS's getters 2023-06-06 17:40:19 +03:00
rpcsrv rpcsrv: add getrawnotarypool, getrawnotarytransaction handlers 2023-08-31 18:51:43 +01:00
stateroot *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00