Page MenuHomePhabricator

Add new RPC call getrawmempooltxs
Needs RevisionPublic

Authored by blockparty-sh on Dec 25 2018, 08:57.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

This adds a new method which allows you to get all of the transactions in the mempool.
Unlike getrawmempool, this method returns the actual transactions instead of just ids.
It has a verbose variant, this functions similarly to verbosity of getrawtransaction.
It is useful for getting all mempool transactions, especially if it is very large.

Test Plan

make
bitcoin-cli getrawmempooltxs
bitcoin-cli getrawmempooltxs 1

Diff Detail

Repository
rABC Bitcoin ABC
Branch
add_getrawmempooltxs_rpc_call
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4362
Build 6789: Bitcoin ABC Buildbot (legacy)
Build 6788: arc lint + arc unit