Page MenuHomePhabricator

Merge #10162: [trivial] Log calls to getblocktemplate
ClosedPublic

Authored by nakihito on Jun 21 2019, 19:33.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR10162
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6435
Build 10917: Bitcoin ABC Buildbot (legacy)
Build 10916: arc lint + arc unit