HomePhabricator

[chronik] add macros to extract params from a JSONRPC request

Description

[chronik] add macros to extract params from a JSONRPC request

Summary:
The get_param! and get_optional_param! macros will be reused a lot as more methods are added.

Depends on D17314
Ref T3598

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien, tobias_ruck

Reviewed By: #bitcoin_abc, Fabien, tobias_ruck

Subscribers: tobias_ruck, Fabien

Maniphest Tasks: T3598

Differential Revision: https://reviews.bitcoinabc.org/D17347

Details

Provenance
PiRKAuthored on Fri, Dec 13, 14:29
PiRKPushed on Mon, Dec 16, 15:32
Reviewer
Restricted Project
Differential Revision
D17347: [chronik] add macros to extract params from a JSONRPC request
Parents
rABC5ccdd58eaef1: [chronik] add electrum method blockchain.transaction.get
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task