Page MenuHomePhabricator
Feed Advanced Search

Jun 22 2019

markblundeberg added a comment to D3387: Speedup coinselector_tests by using a dummy WalletDBWrapper when apropriate.

JFC this test is slow without this patch. >_<

Jun 22 2019, 03:46

Jun 21 2019

markblundeberg added a comment to D2788: Remove unknown version warning from UpdateTip.

Note backports are basically caught up on this part of the code, except weak overlap with the incomplete parts of D1972, and some linting-related stuff in #12891 (which it looks like will we cannot take as-is due to code style differences).

Jun 21 2019, 23:05
markblundeberg added a comment to D3381: Merge #13726: Utils and libraries: Removes the boost/algorithm/string/join dependency.

braces

Jun 21 2019, 23:00
markblundeberg requested review of D2788: Remove unknown version warning from UpdateTip.
Jun 21 2019, 22:57
markblundeberg added a comment to D2788: Remove unknown version warning from UpdateTip.

Depends on itself?

Jun 21 2019, 22:57
markblundeberg updated the summary of D2788: Remove unknown version warning from UpdateTip.
Jun 21 2019, 22:56
markblundeberg added inline comments to D2788: Remove unknown version warning from UpdateTip.
Jun 21 2019, 18:30
markblundeberg added reviewers for D2788: Remove unknown version warning from UpdateTip: jasonbcox, Fabien.
Jun 21 2019, 18:11
markblundeberg updated the summary of D2788: Remove unknown version warning from UpdateTip.

rebased (part of this is now already done, in D3181)

Jun 21 2019, 18:07
markblundeberg added a reviewer for D2788: Remove unknown version warning from UpdateTip: schancel.
Jun 21 2019, 17:56
markblundeberg added a comment to D3381: Merge #13726: Utils and libraries: Removes the boost/algorithm/string/join dependency.

somehow the include didn't get removed on first pass

Jun 21 2019, 17:56
markblundeberg planned changes to D3381: Merge #13726: Utils and libraries: Removes the boost/algorithm/string/join dependency.
Jun 21 2019, 17:53
markblundeberg added a comment to D3381: Merge #13726: Utils and libraries: Removes the boost/algorithm/string/join dependency.

This is mostly a nominal backport -- these parts will likely be removed anyway. (see D2788)

Jun 21 2019, 17:48
markblundeberg created D3381: Merge #13726: Utils and libraries: Removes the boost/algorithm/string/join dependency.
Jun 21 2019, 17:48
markblundeberg added a comment to D1972: [Part 5 of 5] Add a CChainState class to clarify internal interfaces.

What about the UpdateTip changes?

Jun 21 2019, 17:25
markblundeberg updated the summary of D1972: [Part 5 of 5] Add a CChainState class to clarify internal interfaces.
Jun 21 2019, 17:25
markblundeberg added a comment to D3331: remove effect of SCRIPT_ENABLE_SCHNORR flag.

update per comment

Jun 21 2019, 16:08
markblundeberg added a comment to D3331: remove effect of SCRIPT_ENABLE_SCHNORR flag.

simple rebase

Jun 21 2019, 16:04
markblundeberg added a comment to D3253: Remove Schnorr activation.

simple rebase

Jun 21 2019, 16:03
markblundeberg updated the test plan for D3331: remove effect of SCRIPT_ENABLE_SCHNORR flag.
Jun 21 2019, 16:00
markblundeberg added a comment to D3114: De-witnessing some comments.

tweak per comment

Jun 21 2019, 15:27
markblundeberg added a comment to D3371: fix BIP37 processing for non-topologically ordered blocks.

Returning for at least a rubber-stamp review from ABC member. :-)

Jun 21 2019, 14:51
markblundeberg added a comment to D3371: fix BIP37 processing for non-topologically ordered blocks.

change name to IsRelevantBesidesInputsAndUpdate, also clarify comments.

Jun 21 2019, 14:49
markblundeberg added a comment to D3371: fix BIP37 processing for non-topologically ordered blocks.

Alternatively it would work to move the txid check to the second function, making them:

  • HasRelevantOutputsAndUpdate
  • HasRelevantTxidOrInputs
Jun 21 2019, 14:21
D3379: Remove unecessary include of boost/version is now accepted and ready to land.
Jun 21 2019, 14:18
markblundeberg added a comment to D3371: fix BIP37 processing for non-topologically ordered blocks.

@bvk How about IsRelevantBesidesInputsAndUpdate? 😄

Jun 21 2019, 14:02
D3375: Merge #10765: Tests: address placement should be deterministic by default now requires changes to proceed.
Jun 21 2019, 13:59
markblundeberg added inline comments to D3378: Actually disable BnB when there are preset inputs.
Jun 21 2019, 13:54
markblundeberg added inline comments to D3371: fix BIP37 processing for non-topologically ordered blocks.
Jun 21 2019, 04:34
markblundeberg added a comment to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....

remove comment again

Jun 21 2019, 03:06
markblundeberg added inline comments to D3371: fix BIP37 processing for non-topologically ordered blocks.
Jun 21 2019, 01:54
markblundeberg added a comment to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....

@deadalnix looks like your comments showed up late for some reason. Anyway the amount.h is removed as jason asked for as well.

Jun 21 2019, 00:57

Jun 20 2019

markblundeberg added a comment to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....

tweaks per comments

Jun 20 2019, 21:10
markblundeberg updated the test plan for D3374: Merge #12392: Fix ignoring tx data requests when fPauseSend is set on a peer.
Jun 20 2019, 20:12
markblundeberg updated the summary of D3374: Merge #12392: Fix ignoring tx data requests when fPauseSend is set on a peer.
Jun 20 2019, 20:11
markblundeberg created D3374: Merge #12392: Fix ignoring tx data requests when fPauseSend is set on a peer.
Jun 20 2019, 20:06
markblundeberg added a comment to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....

move Amount to forward declaration

Jun 20 2019, 17:19
markblundeberg added inline comments to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....
Jun 20 2019, 16:02
D3373: Merge #11284: Fix invalid memory access in CScript::operator+= (guidovranken, ajtowns) is now accepted and ready to land.
Jun 20 2019, 04:49
D3372: Merge #10151: [logging] initialize flag variable to 0 (and continue if GetLogCategory() fails) is now accepted and ready to land.
Jun 20 2019, 00:54
markblundeberg updated the summary of D3371: fix BIP37 processing for non-topologically ordered blocks.
Jun 20 2019, 00:45

Jun 19 2019

markblundeberg created D3371: fix BIP37 processing for non-topologically ordered blocks.
Jun 19 2019, 23:57
markblundeberg added a comment to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.

(final rebase was necessary for release notes)

Jun 19 2019, 22:44
markblundeberg added a comment to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.

restore help text, per discussion

Jun 19 2019, 22:28
markblundeberg added inline comments to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.
Jun 19 2019, 21:16
markblundeberg retitled D3114: De-witnessing some comments from De-witnessing some comments and RPC helptext to De-witnessing some comments.

reduce scope (remove RPC changes, restore a comment)

Jun 19 2019, 16:06
markblundeberg abandoned D3268: Increase test coverage on CScript.IsPushOnly().
Jun 19 2019, 15:52
markblundeberg abandoned D3269: move CheckMinimalPush to script.h.
Jun 19 2019, 15:52
markblundeberg abandoned D3270: add CScript::IsMinimalPushOnly.
Jun 19 2019, 15:52
markblundeberg closed T667: add rule for **minimal** push only in scriptSig as Spite.
Jun 19 2019, 15:52
markblundeberg abandoned D3271: add SCRIPTSIGMINPUSHONLY flag and logic.
Jun 19 2019, 15:52
markblundeberg added a comment to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.

update per discussion

Jun 19 2019, 15:50
markblundeberg closed T630: Backport PR 13243 "Make reusable base class for auxiliary indices", a subtask of T589: BIP157 & BIP158 backports, as Resolved.
Jun 19 2019, 15:38
markblundeberg closed T630: Backport PR 13243 "Make reusable base class for auxiliary indices", a subtask of T631: Backport PR 15118 "Refactor block file logic", as Resolved.
Jun 19 2019, 15:38
markblundeberg closed T630: Backport PR 13243 "Make reusable base class for auxiliary indices" as Resolved.
Jun 19 2019, 15:38
markblundeberg added a comment to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....

include missed doxygen comment & remove superfluous comment from CheckInputs

Jun 19 2019, 14:38
markblundeberg added inline comments to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....
Jun 19 2019, 13:57
markblundeberg added inline comments to D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 13:24
markblundeberg added inline comments to D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 05:46
markblundeberg updated the summary of D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 05:44
markblundeberg added inline comments to D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 05:37
markblundeberg retitled D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo from [rpc] remove ancient softforks' information from getblockchaininfo to [rpc] deprecate ancient softforks' information from getblockchaininfo.

change to deprecation instead of removal

Jun 19 2019, 05:23
markblundeberg updated the test plan for D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 05:08
markblundeberg updated the test plan for D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 04:54
markblundeberg added inline comments to D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 04:02
markblundeberg created D3366: [consensus] Pin P2SH activation to block 173805 on mainnet.
Jun 19 2019, 03:55
markblundeberg added inline comments to D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....
Jun 19 2019, 03:20
markblundeberg created D3365: Merge #8498: Near-Bugfix: Optimization: Minimize the number of times it is checked that no money....
Jun 19 2019, 03:01

Jun 18 2019

markblundeberg added a comment to D3253: Remove Schnorr activation.

rebase

Jun 18 2019, 21:31
markblundeberg added a comment to D3350: [script_tests] improve test coverage of minimal push rules.

What about including the script_tests.cpp changes in the script_build test?

Jun 18 2019, 21:06
markblundeberg added a comment to D3308: Merge #9894: remove 'label' filter for rpc command help.

As mentioned in the meeting I'm happy to green this if the duplicates are going to be removed reasonably soon in some other diffs, even if landed later on.

Jun 18 2019, 18:56
markblundeberg added a comment to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.

OK, cool! I think that's a good way to go as well.

Jun 18 2019, 13:38
markblundeberg added inline comments to D3361: clarify GetBlockScriptFlags.
Jun 18 2019, 03:47
markblundeberg created D3361: clarify GetBlockScriptFlags.
Jun 18 2019, 03:42
markblundeberg added a comment to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.

@nakihito hmmm, would that -deprecatedrpc thing be appropriate here (sort of like what happened with validateaddress in the recent release)? Or you mean it should be marked deprecated in helptext for some time before being taken out?

Jun 18 2019, 00:59

Jun 17 2019

markblundeberg added a comment to D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.

With patch:

{
  "chain": "test",
  "blocks": 1309568,
  "headers": 1303313,
  "bestblockhash": "0000000000000c97db875750712183dc3d608d225e275ce992a647ba084ea848",
  "difficulty": 842811.5393743159,
  "mediantime": 1560802822,
  "verificationprogress": 0.9999993508198258,
  "initialblockdownload": false,
  "chainwork": "00000000000000000000000000000000000000000000004f5d4024d8d2d6fd56",
  "size_on_disk": 26073090536,
  "pruned": false,
  "warnings": ""
}
Jun 17 2019, 21:13
D3356: Merge #10577: Add an explanation of quickly hashing onto a non-power of two range. is now accepted and ready to land.
Jun 17 2019, 20:56
markblundeberg updated the test plan for D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.
Jun 17 2019, 20:54
markblundeberg created D3358: [rpc] deprecate ancient softforks' information from getblockchaininfo.
Jun 17 2019, 20:53
markblundeberg added inline comments to D3253: Remove Schnorr activation.
Jun 17 2019, 03:08
markblundeberg added a comment to D3253: Remove Schnorr activation.

remove mocktiming

Jun 17 2019, 03:07
markblundeberg updated the summary of D3350: [script_tests] improve test coverage of minimal push rules.
Jun 17 2019, 03:01

Jun 16 2019

markblundeberg added a comment to D3350: [script_tests] improve test coverage of minimal push rules.

oops, some tests duplicated

Jun 16 2019, 16:26
markblundeberg planned changes to D3350: [script_tests] improve test coverage of minimal push rules.
Jun 16 2019, 16:24
markblundeberg created D3350: [script_tests] improve test coverage of minimal push rules.
Jun 16 2019, 16:24
markblundeberg added a comment to D3253: Remove Schnorr activation.

IBD testing done

Jun 16 2019, 00:57
markblundeberg updated the test plan for D3253: Remove Schnorr activation.
Jun 16 2019, 00:57
markblundeberg added a comment to D3253: Remove Schnorr activation.

update the functional test per my last comment; we can't properly test 64 byte ECDSA here,
but we can test the multisig length check banning.

Jun 16 2019, 00:53

Jun 15 2019

markblundeberg added a comment to D3076: Merge #14409: utils and libraries: Make 'blocksdir' always net specific.

rebase pre-land

Jun 15 2019, 19:23
markblundeberg added a comment to D3312: create net-specific data directory early in init process.

Discussions with @Fabien make it clear that this is pretty ugly behaviour, and I've forwarded this problem to Core to see if they have some solutions in mind. https://github.com/bitcoin/bitcoin/issues/16220

Jun 15 2019, 18:16
markblundeberg added a comment to D3312: create net-specific data directory early in init process.

add TODO comments to aid in clean backporting one day (when Core figures out
how they want to fix this)

Jun 15 2019, 18:13
markblundeberg added inline comments to D1438: Add a NUM2BIN test with a 5 byte operand.
Jun 15 2019, 02:41
markblundeberg added inline comments to D3253: Remove Schnorr activation.
Jun 15 2019, 01:52
markblundeberg added a comment to D3253: Remove Schnorr activation.

keep functional test same name to allow diff to show properly

Jun 15 2019, 01:50
markblundeberg added inline comments to D3332: remove SCRIPT_ENABLE_SCHNORR flag and clean up tests.
Jun 15 2019, 00:34
markblundeberg added inline comments to D3253: Remove Schnorr activation.
Jun 15 2019, 00:32
markblundeberg added a comment to D3347: [script_tests] improve coverage of minimal number encoding.

Also I find it a bit odd that we have a known error that triggers UNKNOWN_ERROR (this is because it works by throwing an exception instead of doing the usual s_error mechanism). Would be good to make it clearer, but that can be a separate diff.

Jun 15 2019, 00:31
markblundeberg created D3347: [script_tests] improve coverage of minimal number encoding.
Jun 15 2019, 00:28

Jun 14 2019

markblundeberg added a comment to D3310: Merge #14085: index: Fix for indexers skipping genesis block..

rebase for good measure

Jun 14 2019, 18:28
markblundeberg added a comment to D3329: [txindex] transaction Hash -> TxId.

rebase for conflict (txindex_tests' GetHash -> GetId changes were done in D3315 too)

Jun 14 2019, 17:41