The code updates database for every seed node every time we make a new outgoing connection. This isn't necessary.
vastly reduce unnecessary database writes #43
pull dooglus wants to merge 1 commits into bitcoin:master from dooglus:timestamp-db-faster changing 1 files +1 −1-
dooglus commented at 10:54 PM on January 24, 2011: contributor
-
Repeatedly resetting the timestamp for seed nodes in the database was slow. Only update the database if it's a real change. 10abe4f26e
- kac- referenced this in commit 5e109d5b58 on Jun 10, 2014
- msgilligan referenced this in commit af189b8647 on Jul 17, 2014
- dexX7 referenced this in commit 560e2fca4d on Feb 27, 2015
- jonasschnelli referenced this in commit 7d5aecd2c1 on Jul 28, 2015
- ptschip referenced this in commit e9fd23ebfa on Jun 30, 2016
- ckeyer referenced this in commit d3aef61969 on Dec 2, 2017
- ckeyer referenced this in commit 6d187edcd2 on Dec 2, 2017
- ckeyer referenced this in commit b885205701 on Dec 2, 2017
- ckeyer referenced this in commit 4068961cb9 on Dec 2, 2017
- ckeyer referenced this in commit a8f99b5080 on Dec 2, 2017
- classesjack referenced this in commit 5cceac8871 on Jan 2, 2018
- nining referenced this in commit 036f4f9016 on Jan 3, 2018
- nining referenced this in commit d27dba971a on Jan 3, 2018
- Empact referenced this in commit 6b79b4b3bb on Aug 1, 2018
- yes-maxheart referenced this in commit 15742c622e on Dec 16, 2018
- Warchant referenced this in commit c9da2a7239 on Dec 31, 2019
- velesnetwork referenced this in commit aeb6180fe4 on Jan 12, 2020
- KolbyML referenced this in commit 565e630f64 on Sep 4, 2020
- KolbyML referenced this in commit 78293d4f58 on Sep 4, 2020
- MarcoFalke referenced this in commit 90c0f267bd on Dec 8, 2020
- rajarshimaitra referenced this in commit 6e6db56d43 on Mar 23, 2021
- satindergrewal referenced this in commit 1e404c241e on Jun 22, 2021
- DrahtBot locked this on Sep 8, 2021
- DrahtBot added the label CI failed on Apr 2, 2023
- DrahtBot removed the label CI failed on Apr 2, 2023
- DrahtBot added the label CI failed on Apr 2, 2023
- DrahtBot removed the label CI failed on Apr 3, 2023
- DrahtBot added the label CI failed on Apr 5, 2023
- MarcoFalke removed the label CI failed on Apr 5, 2023
- DrahtBot added the label CI failed on Apr 11, 2023
- MarcoFalke removed the label CI failed on Apr 11, 2023
Contributors
Linked (view graph)
#9997 Running out of disk space during GUI init results in hang and non-drawing windows#11355 LevelDB read failure: Corruption: block checksum mismatch#12038 deadlock on database corruption#14349 mac: make check failure on macOS 10.14#17729 Fuzzing Bug undefined-behavior pubkey.cpp:210:38#25323 miniscript fuzzer failing after qa-assets update