Page MenuHomePhabricator
Feed Advanced Search

May 27 2019

markblundeberg added a comment to D3120: (finally) remove getinfo in favor of more module-specific infos.

Hmm... also since the new txindex code was landed, maybe defer this to next release? If someone has to downgrade because their project relies on removed RPC for some bizarre reason, they'll be pissed if they have to reindex the txindex.

May 27 2019, 19:46
Herald added a reviewer for D3127: Merge #14513: Avoid 1 << 31 (UB) in calculation of SEQUENCE_LOCKTIME_DISABLE_FLAG: deadalnix.
May 27 2019, 14:37
Herald added a reviewer for D3126: Merge #14510: Avoid triggering undefined behaviour in base_uint<BITS>::bits(): deadalnix.
May 27 2019, 14:31
markblundeberg requested changes to D3120: (finally) remove getinfo in favor of more module-specific infos.

I think a release note is well-deserved here. Yeah, I know it's been deprecated for 3 years already but I didn't even realize that until I read the help text just now. =D

May 27 2019, 14:18
markblundeberg closed T617: Backport PR 13033 "Build txindex in parallel with validation", a subtask of T630: Backport PR 13243 "Make reusable base class for auxiliary indices", as Resolved.
May 27 2019, 04:06
markblundeberg closed T617: Backport PR 13033 "Build txindex in parallel with validation", a subtask of T632: Backport PR 13106 "Simplify semantics of ChainStateFlushed callback", as Resolved.
May 27 2019, 04:06
markblundeberg closed T617: Backport PR 13033 "Build txindex in parallel with validation" as Resolved.
May 27 2019, 04:06
markblundeberg accepted D3122: Expose method to find key for a single-key destination.
May 27 2019, 03:58
markblundeberg accepted D3121: Abstract out IsSolvable from Witnessifier.
May 27 2019, 03:53
markblundeberg added a comment to D3120: (finally) remove getinfo in favor of more module-specific infos.

We should also backport this: https://github.com/bitcoin/bitcoin/pull/12198

May 27 2019, 03:46
Herald added a reviewer for D3123: Merge #13894: shutdown: Stop threads before resetting ptrs: deadalnix.
May 27 2019, 03:35
markblundeberg added inline comments to D2938: index: Move index DBs into index/ directory..
May 27 2019, 03:12
markblundeberg updated the summary of D2938: index: Move index DBs into index/ directory..
May 27 2019, 02:17
markblundeberg updated the diff for D2938: index: Move index DBs into index/ directory..

rebased; de-charred

May 27 2019, 02:16
markblundeberg updated the summary of D2937: MOVEONLY: Move BaseIndex to its own file..
May 27 2019, 02:11
markblundeberg updated the summary of D2936: index: Generalize logged statements in BaseIndex..
May 27 2019, 01:47
markblundeberg added inline comments to D2935: index: Extract logic from TxIndex into reusable base class..
May 27 2019, 01:41
markblundeberg requested review of D2935: index: Extract logic from TxIndex into reusable base class..
May 27 2019, 01:40
markblundeberg planned changes to D2935: index: Extract logic from TxIndex into reusable base class..
May 27 2019, 01:34
markblundeberg updated the summary of D2934: db: Make reusable base class for index databases..
May 27 2019, 01:30
markblundeberg updated the summary of D2935: index: Extract logic from TxIndex into reusable base class..
May 27 2019, 01:29
markblundeberg added a comment to D3120: (finally) remove getinfo in favor of more module-specific infos.

no release note?

May 27 2019, 01:25
markblundeberg accepted D3116: [script] Unit tests for script/standard functions.
May 27 2019, 01:14
markblundeberg accepted D3117: [script] Unit tests for IsMine.

Looks good; some segwit tests removed of course but otherwise verbatim.

May 27 2019, 00:51
markblundeberg accepted D3118: Remove the virtual specifier for functions with the override specifier.

note: Logv already has virtual removed

May 27 2019, 00:47
markblundeberg updated the diff for D2937: MOVEONLY: Move BaseIndex to its own file..

rebase

May 27 2019, 00:40
markblundeberg updated the diff for D2936: index: Generalize logged statements in BaseIndex..

rebase

May 27 2019, 00:39
markblundeberg updated the diff for D2935: index: Extract logic from TxIndex into reusable base class..

rebase

May 27 2019, 00:39
markblundeberg updated the diff for D2934: db: Make reusable base class for index databases..

rebase

May 27 2019, 00:38
markblundeberg accepted D3119: Fix code style in keystore.cpp/crypter.cpp.
May 27 2019, 00:35
markblundeberg updated the diff for D2933: db: Remove obsolete methods from CBlockTreeDB..

rebase

May 27 2019, 00:21
markblundeberg updated the diff for D2924: [txindex] Activate new transaction index code that runs in background.

last rebase & set the version number

May 27 2019, 00:02

May 26 2019

markblundeberg added a comment to D2924: [txindex] Activate new transaction index code that runs in background.

added diff-range for easy comparison: https://github.com/bitcoin/bitcoin/compare/8181db88f~1..9b2704777

May 26 2019, 22:52
markblundeberg updated the summary of D2924: [txindex] Activate new transaction index code that runs in background.
May 26 2019, 22:52
markblundeberg updated the summary of D2924: [txindex] Activate new transaction index code that runs in background.
May 26 2019, 22:43
markblundeberg added inline comments to D3114: De-witnessing some comments.
May 26 2019, 18:36
markblundeberg added inline comments to D3116: [script] Unit tests for script/standard functions.
May 26 2019, 17:41
markblundeberg added inline comments to D3116: [script] Unit tests for script/standard functions.
May 26 2019, 17:39
markblundeberg added a comment to D2938: index: Move index DBs into index/ directory..

note to self: remove unsigned chars!

May 26 2019, 17:31

May 25 2019

markblundeberg added a comment to D3114: De-witnessing some comments.

(Obviously if we ever introduce new tx format with scriptsig data redacted from txid calc, then we may have txid != hash. But that's a long long way off)

May 25 2019, 18:56
markblundeberg added a comment to D2938: index: Move index DBs into index/ directory..

note to self: needs to be updated appropriately if D3115 is wanted.

May 25 2019, 18:55
Herald added a reviewer for D3115: Set InitMessage for txindex migration: deadalnix.
May 25 2019, 18:54
markblundeberg retitled D3114: De-witnessing some comments from Some de-witnessing to De-witnessing some comments and RPC helptext.
May 25 2019, 18:39
Herald added a reviewer for D3114: De-witnessing some comments: deadalnix.
May 25 2019, 18:39
markblundeberg added inline comments to D3113: Comments: More comments on functions/globals in standard.h..
May 25 2019, 18:06
markblundeberg accepted D3113: Comments: More comments on functions/globals in standard.h..

ah changed my mind, it's fine :)

May 25 2019, 17:00
markblundeberg added inline comments to D3113: Comments: More comments on functions/globals in standard.h..
May 25 2019, 16:58
markblundeberg added inline comments to D3113: Comments: More comments on functions/globals in standard.h..
May 25 2019, 16:58
markblundeberg requested changes to D3113: Comments: More comments on functions/globals in standard.h..
May 25 2019, 16:57
markblundeberg updated the diff for D3108: Merge #11468: [tests] Make comp test framework more debuggable.

amend for nit

May 25 2019, 08:19
markblundeberg added a comment to D3112: Rename SCRIPT_ENABLE_CHECKDATASIG to SCRIPT_VERIFY_CHECKDATASIG_SIGOPS..

LGTM, except just recomment that line in script_tests.cpp .

May 25 2019, 07:39
markblundeberg added inline comments to D3112: Rename SCRIPT_ENABLE_CHECKDATASIG to SCRIPT_VERIFY_CHECKDATASIG_SIGOPS..
May 25 2019, 07:38
markblundeberg updated the diff for D3108: Merge #11468: [tests] Make comp test framework more debuggable.

use .format

May 25 2019, 01:17

May 24 2019

markblundeberg added reviewers for D2924: [txindex] Activate new transaction index code that runs in background: jasonbcox, Fabien.
May 24 2019, 23:07
markblundeberg planned changes to D3108: Merge #11468: [tests] Make comp test framework more debuggable.
May 24 2019, 22:44
Herald added a reviewer for D3110: Merge #12468: Add missing newline in init.cpp log message: deadalnix.
May 24 2019, 22:22
Herald added a reviewer for D3109: Merge #12425: Add some script tests: deadalnix.
May 24 2019, 21:30
Herald added a reviewer for D3108: Merge #11468: [tests] Make comp test framework more debuggable: deadalnix.
May 24 2019, 21:29
markblundeberg accepted D3107: Merge #10308: [wallet] Securely erase potentially sensitive keys/values.

Cool! TIL memset 0 is not necessarily good enough.

May 24 2019, 21:17
markblundeberg added a comment to D1990: scripted-diff: Use UniValue.pushKV instead of push_back(Pair()).

(is backport of PR12193)

May 24 2019, 18:20
markblundeberg closed T531: Add support for Schnorr signature aggregation in wallet., a subtask of T526: Schnorr-ifying, as Wontfix.
May 24 2019, 16:50
markblundeberg closed T531: Add support for Schnorr signature aggregation in wallet. as Wontfix.

This is vague and really not needed any time soon.

May 24 2019, 16:50
markblundeberg updated the task description for T528: Add Schnorr support to OP_CHECKMULTISIG (new mechanics).
May 24 2019, 16:48
markblundeberg added inline comments to D2924: [txindex] Activate new transaction index code that runs in background.
May 24 2019, 16:10
markblundeberg added inline comments to D2928: Simplify semantics of ChainStateFlushed callback.
May 24 2019, 16:05
markblundeberg added a comment to T436: Backport core PR 10286.

some commits extracted in D1915 D2263 D2265 D2266 D2267 D2268 D2269

May 24 2019, 15:26 · Restricted Project
markblundeberg added a comment to T436: Backport core PR 10286.

note comment in D2928 was updated incorrectly due to out-of-order with this

May 24 2019, 14:52 · Restricted Project
markblundeberg added a comment to D2924: [txindex] Activate new transaction index code that runs in background.

(I'm happy to have this deferred to 0.19.8, if there is a desire for another 'good and stable' release after 0.19.6)

May 24 2019, 14:43
markblundeberg updated the test plan for D2924: [txindex] Activate new transaction index code that runs in background.
May 24 2019, 14:37
markblundeberg updated the diff for D2924: [txindex] Activate new transaction index code that runs in background.

Testing done :-) ... this is robust!
(& rebased)

May 24 2019, 14:37
markblundeberg accepted D3100: Interpret scripts with CHECKDATASIG opcode always valid..

description nit:

May 24 2019, 14:15
markblundeberg requested changes to D3073: [RPC] Serialize in getblock without cs_main.
May 24 2019, 14:10
markblundeberg added a comment to D3073: [RPC] Serialize in getblock without cs_main.

rebase onto master, and edit the description

May 24 2019, 13:58
markblundeberg updated the diff for D3012: Backport current GetDifficulty logic (& tests) from Core.

rebase ; address comments

May 24 2019, 02:23
markblundeberg updated the diff for D3101: [rpc] Add initialblockdownload to getblockchaininfo.

rebase; release notes

May 24 2019, 02:09
markblundeberg added a comment to D3073: [RPC] Serialize in getblock without cs_main.

@IntegralTeam OK, now my diff is landed -- please rebase onto master, and edit the description to say that this is a backport like so:

May 24 2019, 01:56
markblundeberg added inline comments to D3021: Merge #12151: rpc: Remove cs_main lock from blockToJSON and blockheaderToJSON.
May 24 2019, 01:28

May 23 2019

markblundeberg created T662: Backport PR11389 "Support having SegWit always active in regtest".
May 23 2019, 23:35
markblundeberg updated the diff for D3101: [rpc] Add initialblockdownload to getblockchaininfo.

use pushKV

May 23 2019, 23:30
markblundeberg added a comment to D3101: [rpc] Add initialblockdownload to getblockchaininfo.

oops, obviously should use pushKV here!

May 23 2019, 23:19
markblundeberg planned changes to D3101: [rpc] Add initialblockdownload to getblockchaininfo.
May 23 2019, 23:18
Herald added a reviewer for D3101: [rpc] Add initialblockdownload to getblockchaininfo: deadalnix.
May 23 2019, 23:17
markblundeberg planned changes to D2934: db: Make reusable base class for index databases..
May 23 2019, 23:08
markblundeberg planned changes to D2935: index: Extract logic from TxIndex into reusable base class..
May 23 2019, 23:08
markblundeberg planned changes to D2936: index: Generalize logged statements in BaseIndex..
May 23 2019, 23:08
markblundeberg planned changes to D2937: MOVEONLY: Move BaseIndex to its own file..
May 23 2019, 23:08
markblundeberg planned changes to D2938: index: Move index DBs into index/ directory..
May 23 2019, 23:08
markblundeberg created T661: Backport PR12804 [tests] Fix intermittent rpc_net.py failure..
May 23 2019, 17:07
markblundeberg requested review of D3094: [qa] don't pad transactions during make_conform_to_ctor.

Updated test plan; ran a couple times with --extended. Only observed (once) an apparently unrelated failure in mining_getblocktemplate_longpoll.py (some kind of threading error), that I could not even reproduce in individual testing.

May 23 2019, 16:34
markblundeberg updated the test plan for D3094: [qa] don't pad transactions during make_conform_to_ctor.
May 23 2019, 16:33
markblundeberg added a comment to D3100: Interpret scripts with CHECKDATASIG opcode always valid..

I'm also thinking that maybe all the script tests that include the CHECKDATASIG script flag should stop referring to it, except for tests of sigops counting. However if other implementations are relying on those flags being in script_tests.json then maybe they should be kept.

May 23 2019, 16:18
markblundeberg added inline comments to D3100: Interpret scripts with CHECKDATASIG opcode always valid..
May 23 2019, 16:16
markblundeberg requested changes to D3100: Interpret scripts with CHECKDATASIG opcode always valid..

I am inclined to rename the flag SCRIPT_ENABLE_CHECKDATASIG to something more accurate (since it doesn't enable the opcode, it just enables counting its sigops) but that's debatable...

May 23 2019, 16:15
markblundeberg updated the test plan for D2924: [txindex] Activate new transaction index code that runs in background.
May 23 2019, 14:25
markblundeberg added a comment to D2924: [txindex] Activate new transaction index code that runs in background.

Mainnet indexing in background results: 8.5 hours

2019-05-23T03:08:04Z Using obfuscation key for /home/bitcoin/.bitcoin/indexes/tx
index: 0000000000000000
2019-05-23T03:08:04Z txindex thread start
...
2019-05-23T03:24:36Z Syncing txindex with block chain from height 200889
...
2019-05-23T04:28:09Z Syncing txindex with block chain from height 300655
...
2019-05-23T07:13:36Z Syncing txindex with block chain from height 400084
...
2019-05-23T10:53:08Z Syncing txindex with block chain from height 501172
...
2019-05-23T11:42:01Z Syncing txindex with block chain from height 582571
2019-05-23T11:42:32Z Syncing txindex with block chain from height 583169
2019-05-23T11:43:03Z Syncing txindex with block chain from height 583374
2019-05-23T11:43:26Z txindex is enabled at height 583818
2019-05-23T11:43:26Z txindex thread exit
May 23 2019, 14:05
markblundeberg accepted D3092: Remove BIP9 dead code in util.py.
May 23 2019, 13:58
markblundeberg added a comment to D3094: [qa] don't pad transactions during make_conform_to_ctor.
In D3094#73113, @Fabien wrote:

test_runner.py does not run all the tests, there is a cutoff based on their expected duration. To run them all you need test_runner.py --extended.
For example, abc-p2p-compactblocks.py uses make_conform_to_ctor, but will not be tested without the --extended flag.
Did you also check these tests ? Anyway you should update the test plan.

May 23 2019, 13:58
markblundeberg added a comment to D3025: [Wallet] CheckBalance instead of GetBalance for 13% faster sendtoaddress.

I'm seeing that Core did a big refactor of GetBalance in https://github.com/bitcoin/bitcoin/pull/15747 .

May 23 2019, 04:49
markblundeberg added a comment to D2924: [txindex] Activate new transaction index code that runs in background.

Mainnet migration test (on a VPS with OK specs -- about 57 minutes)

...
2019-05-23T02:08:01Z Upgrading txindex database... [0%]
2019-05-23T02:13:57Z Upgrading txindex database... [10%]
2019-05-23T02:19:52Z Upgrading txindex database... [20%]
2019-05-23T02:25:57Z Upgrading txindex database... [30%]
2019-05-23T02:31:26Z Upgrading txindex database... [40%]
2019-05-23T02:37:09Z Upgrading txindex database... [50%]
2019-05-23T02:42:31Z
May 23 2019, 03:15
markblundeberg added a reviewer for D3093: Remove AcceptToMemoryPoolWithTime default args: jasonbcox.
May 23 2019, 02:29