Zebra/zebra-rpc/src
Arya be2c2299b1
change(rpc): Sort transaction hashes like zcashd in getrawmempool RPC response (#5994)
* Sorts transactions like zcashd in getrawmempool

* Simplifies sort logic and condenses duplicate code

* adds comment clarifying the intended byte order for transaction hashes

* Multiplies fee by MAX_BLOCK_BYTES/tx-size instead of tx-size

- Removes feature flag on get_raw_mempool

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Always uses `TransactionIds` request in tests

* reverts switch from #[cfg()] to cfg!()

* Adds feature flag to constant

* Updates tests and removes !cfg(not(test))

* Moves up comment

* adds missing transaction_ids

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 04:48:18 +00:00
..
methods change(rpc): Sort transaction hashes like zcashd in getrawmempool RPC response (#5994) 2023-01-23 04:48:18 +00:00
queue fix(rpc): Shut down the RPC server properly when Zebra shuts down (#5591) 2022-11-10 14:51:53 +00:00
server change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
tests fix(rpc): Isolate RPC queries from the rest of Zebra, to improve performance (#4806) 2022-09-01 16:20:22 +00:00
config.rs change(rpc): Provide and parse a long poll ID, but don't use it yet (#5796) 2022-12-09 01:41:46 +00:00
lib.rs feat(rpc): Implement an RPC transaction queue (#4015) 2022-04-12 15:06:29 +10:00
methods.rs change(rpc): Sort transaction hashes like zcashd in getrawmempool RPC response (#5994) 2023-01-23 04:48:18 +00:00
queue.rs fix(rpc): Shut down the RPC server properly when Zebra shuts down (#5591) 2022-11-10 14:51:53 +00:00
server.rs change(rpc): Add getpeerinfo RPC method (#5951) 2023-01-17 07:09:07 +00:00
tests.rs feat(rpc): add getrawtransaction (#3908) 2022-03-24 09:45:37 +00:00