-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gh4157 control when mempool sync starts (#4160)
* Add mempool:sync_start option * Add release note
- Loading branch information
Showing
5 changed files
with
156 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* A config option, `mempool:sync_start` (integer) has been introduced to control when syncing of the mempool | ||
starts during chain sync. A positive number denotes the height at which to begin syncing; a negative number | ||
denotes how far from the network top height (best guess by the sync logic) to start. Default is `-500`, i.e. | ||
start syncing the mempool 500 blocks from the top. A mempool sync is always triggered when chain sync is done, | ||
and if a negative value greater than the top height is given, sync starts from `0`, i.e. from the beginning. |