HomePhabricator

Merge #10162: [trivial] Log calls to getblocktemplate

Description

Merge #10162: [trivial] Log calls to getblocktemplate

Summary:
1352092 Log calls to getblocktemplate (John Newbery)

Tree-SHA512: de2c6faac8baea2f63eb499dbcd0669062a71759050cf8bcada9b454fe82f056c23635d41c755badf55158ffc40a380f82bea1f40c8a2cc51604d981515b71eb

Backport of Core PR10162
https://github.com/bitcoin/bitcoin/pull/10162

Test Plan:

make check
test_runner.py mining_getblocktemplate_longpoll --nocleanup

Check /tmp/bitcoin_test_runner_*/mining_getblocktemplate_longpoll_82/node0/regtest/debug.log for a line similar to the following:

<date> <time> Received a POST request for / from 127.0.0.1:37080
<date> <time> ThreadRPCServer method=hgetblocktemplate

Reviewers: deadalnix, Fabien, jasonbcox, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

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

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Apr 7 2017, 12:52
nakihitoCommitted on Jun 21 2019, 22:02
nakihitoPushed on Jun 21 2019, 22:46
Reviewer
Restricted Owners Package
Differential Revision
D3383: Merge #10162: [trivial] Log calls to getblocktemplate
Parents
rSTAGING3142c26b526f: Merge #10088: Trivial: move several relay options into the relay help group
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/9602, tag: phabricator/base/9582, tag: phabricator/base/9581, tag: phabricator/base/9579