HomePhabricator

Implement setting of UAHF start time via RPC
cbdaf5b22f61Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Implement setting of UAHF start time via RPC

Summary:
Implement getuahfstarttime / setuahfstarttime RPC calls.

It is not allowed to update UAHF start time once the chain tip MTP exceeds
the existing configured start time (i.e. the fork is activated).

It is also not allowed to set it to a value less than 2 hours ahead of current
chain tip MTP.

Test Plan:
make check
qa/pull-tester/rpc-tests.py -extended

Reviewers: #bitcoin_abc, deadalnix, sickpig, kyuupichan, awemany

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
freetraderAuthored on Jun 21 2017, 15:10
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Reviewer
Restricted Project
Differential Revision
D243: Implement setting of UAHF start time via RPC
Parents
rSTAGINGde3a474b1e9d: Some simplification in the compact block code and tests
Branches
Unknown
Tags
Unknown