diff options
author | Ava Chow <github@achow101.com> | 2024-01-31 15:48:51 -0500 |
---|---|---|
committer | Ava Chow <github@achow101.com> | 2024-01-31 15:58:47 -0500 |
commit | 3c13f5d6124d887ebeb7f473d73722b570945130 (patch) | |
tree | eca3874a2fec21af214e4467a50d0a75034a8941 /src/kernel | |
parent | 3c63c2f324b839866ff90048759931dcad0bfeac (diff) | |
parent | ff9039f6ea876bab2c40a06a93e0dd087f445fa2 (diff) | |
download | bitcoin-3c13f5d6124d887ebeb7f473d73722b570945130.tar.xz |
Merge bitcoin/bitcoin#28956: Nuke adjusted time from validation (attempt 2)
ff9039f6ea876bab2c40a06a93e0dd087f445fa2 Remove GetAdjustedTime (dergoegge)
Pull request description:
This picks up parts of #25908.
The use of adjusted time is removed from validation code while the warning to users if their clock is out of sync with the rest of the network remains.
ACKs for top commit:
naumenkogs:
ACK ff9039f6ea876bab2c40a06a93e0dd087f445fa2
achow101:
ACK ff9039f6ea876bab2c40a06a93e0dd087f445fa2
maflcko:
lgtm ACK ff9039f6ea876bab2c40a06a93e0dd087f445fa2 🤽
stickies-v:
ACK ff9039f6ea876bab2c40a06a93e0dd087f445fa2
Tree-SHA512: d1f6b9445c236915503fd2ea828f0d3b92285a5dbc677b168453276115e349972edbad37194d8becd9136d8e7219b576af64ec51c72bdb1923e57e405c0483fc
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/chainstatemanager_opts.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/kernel/chainstatemanager_opts.h b/src/kernel/chainstatemanager_opts.h index ee20eabd79..864aac336e 100644 --- a/src/kernel/chainstatemanager_opts.h +++ b/src/kernel/chainstatemanager_opts.h @@ -32,7 +32,6 @@ namespace kernel { struct ChainstateManagerOpts { const CChainParams& chainparams; fs::path datadir; - const std::function<NodeClock::time_point()> adjusted_time_callback{nullptr}; std::optional<bool> check_block_index{}; bool checkpoints_enabled{DEFAULT_CHECKPOINTS_ENABLED}; //! If set, it will override the minimum work we will assume exists on some valid chain. |