Page MenuHomePhabricator

Add new RPC call getrawmempooltxs
Needs RevisionPublic

Authored by blockparty-sh on Tue, Dec 25, 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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 4362
Build 6789: Bitcoin ABC Teamcity Staging
Build 6788: arc lint + arc unit

Event Timeline

blockparty-sh created this revision.Tue, Dec 25, 08:57
Owners added a reviewer: Restricted Owners Package.Tue, Dec 25, 08:58
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Dec 25, 08:58
Herald added a subscriber: schancel. · View Herald Transcript
deadalnix requested changes to this revision.Wed, Dec 26, 17:09

There are no tests.

This revision now requires changes to proceed.Wed, Dec 26, 17:09