Page MenuHomePhabricator
Feed Advanced Search

Jul 10 2019

markblundeberg updated the diff for D3627: [refactor multisig] remove redundant stack check.

reupload for unrelated test failure

Jul 10 2019, 02:57
markblundeberg added a comment to D3627: [refactor multisig] remove redundant stack check.

This makes me a bit worried, to be honest. Isn't it possible to move the nulldummy check near the bound check? This will avoid the spooky action at a distance effect (which is probably why this redundant check survived here in the first place).

Jul 10 2019, 02:48
markblundeberg added inline comments to D3625: [refactor multisig] make const values up front.
Jul 10 2019, 02:40
markblundeberg created D3627: [refactor multisig] remove redundant stack check.
Jul 10 2019, 02:33
markblundeberg added a comment to D3625: [refactor multisig] make const values up front.

@deadalnix I'm trying to find style guides and many like this say that we ought to avoid using unsigned types in this kind of situation, for example: https://google.github.io/styleguide/cppguide.html#Integer_Types

Jul 10 2019, 02:23
markblundeberg updated the diff for D3625: [refactor multisig] make const values up front.

introduce idxKeyCount and restore redundant stack size check

Jul 10 2019, 02:19
markblundeberg added inline comments to D3625: [refactor multisig] make const values up front.
Jul 10 2019, 02:12
markblundeberg created D3626: [refactor multisig] separate nullfail from stack cleanup.
Jul 10 2019, 01:38
markblundeberg added a comment to D3625: [refactor multisig] make const values up front.

@deadalnix I know you want to switch it to size_t but I'd like to defer that until after this refactor... I'm not 100% comfortable with the C++ casting rules and I think it would make more sense as a consistent style change over the entire EvalScript function, not just one opcode.

Jul 10 2019, 01:25
markblundeberg created D3625: [refactor multisig] make const values up front.
Jul 10 2019, 01:22
markblundeberg abandoned D3612: [script_tests] consolidate multisig order tests.
Jul 10 2019, 00:40

Jul 9 2019

markblundeberg updated the task description for T589: BIP157 & BIP158 backports.
Jul 9 2019, 22:19
markblundeberg added a comment to T589: BIP157 & BIP158 backports.

Also need https://github.com/bitcoin/bitcoin/pull/15623/files

Jul 9 2019, 21:56
markblundeberg added inline comments to D3601: [schnorr functional test] remove ComparisonTestFramework dependency.
Jul 9 2019, 21:40
markblundeberg added a comment to D3613: [script_tests] add tests for pubkey encoding with strictenc + nullfail.

Accepting, but this probably needs to be shuffled around based on change in the parent's diff.

Jul 9 2019, 21:34
markblundeberg updated the diff for D3589: [5 of 5] Style cleanup..

rebase for minor conflict

Jul 9 2019, 19:03
markblundeberg updated the diff for D3588: [4 of 5] scripted-diff: Rename CBlockDiskPos to FlatFilePos..

rebase

Jul 9 2019, 19:03
markblundeberg updated the diff for D3587: [3 of 5] Move CDiskBlockPos from chain to flatfile..

rebase for minor conflict

Jul 9 2019, 19:02
markblundeberg abandoned D3263: add CScriptNum operator>>=.

Definitely not needed now.

Jul 9 2019, 18:57
markblundeberg updated the diff for D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..

rebase because all parents are landed

Jul 9 2019, 18:54
markblundeberg created D3617: [schnorr functional test] improve tx handling.
Jul 9 2019, 18:14
markblundeberg created D3616: [schnorr functional test] simplify funding logic.
Jul 9 2019, 18:12
markblundeberg created D3615: [schnorr functional test] change block setup logic.
Jul 9 2019, 18:11
markblundeberg updated the diff for D3601: [schnorr functional test] remove ComparisonTestFramework dependency.

splitting up the big diff into smaller pieces...

Jul 9 2019, 18:09
markblundeberg added a comment to D3614: Merge #14571: [tests] Test that nodes respond to getdata with notfound.

The backports that would remove the need for those two lines:

Jul 9 2019, 17:58
markblundeberg created D3614: Merge #14571: [tests] Test that nodes respond to getdata with notfound.
Jul 9 2019, 17:54
markblundeberg added inline comments to D3473: [refactor multisig] consolidate legacy mode logic.
Jul 9 2019, 16:25
markblundeberg retitled D3610: [script_tests] add small NUM2BIN case from add small NUM2BIN test case to [script_tests] add small NUM2BIN case.
Jul 9 2019, 16:22
markblundeberg created D3613: [script_tests] add tests for pubkey encoding with strictenc + nullfail.
Jul 9 2019, 16:19
markblundeberg created D3612: [script_tests] consolidate multisig order tests.
Jul 9 2019, 16:17
markblundeberg added inline comments to D3473: [refactor multisig] consolidate legacy mode logic.
Jul 9 2019, 15:18
markblundeberg added inline comments to D3473: [refactor multisig] consolidate legacy mode logic.
Jul 9 2019, 15:05
markblundeberg requested review of D3583: Merge #13039: Add logging and error handling for file syncing.

I await your review, then :)

Jul 9 2019, 14:37
markblundeberg added a comment to D3610: [script_tests] add small NUM2BIN case.

I've checked a variety of other implementations (bchd, verde, BU) and none are performing the incorrect bail-early optimization I suggest here, but you never know, someone might think it's a "clever" idea one day.

Jul 9 2019, 14:36
markblundeberg created D3610: [script_tests] add small NUM2BIN case.
Jul 9 2019, 14:35
markblundeberg added a comment to D3581: Merge #10657: Utils: Improvements to ECDSA key-handling code.

The comment in the interpreter should probably be added somewhere in sigencoding.cpp

Jul 9 2019, 03:33

Jul 8 2019

markblundeberg planned changes to D3601: [schnorr functional test] remove ComparisonTestFramework dependency.

After seeing this on phabricator it's a much bigger Diff than I imagined 馃槄 ... will break it up.

Jul 8 2019, 23:00
markblundeberg added a comment to D3601: [schnorr functional test] remove ComparisonTestFramework dependency.
Jul 8 2019, 22:50
markblundeberg created D3601: [schnorr functional test] remove ComparisonTestFramework dependency.
Jul 8 2019, 22:43
markblundeberg accepted D3595: Use functional tests timings from the source directory.
Jul 8 2019, 20:11
markblundeberg added a comment to D3595: Use functional tests timings from the source directory.

The inspiration for this change was an issue I was seeing: if a test once took longer than 40s to run, then it would never run again until I ran make clean since the last memory of running that test would be >40s. So the number of tests that would actually run was smaller than TeamCity, and gradually reducing over time. Not exactly the desired situation!

Jul 8 2019, 19:18
markblundeberg added a comment to D3587: [3 of 5] Move CDiskBlockPos from chain to flatfile..

Note: alternatively we could keep the split and rename diskblockpos.h to flatfilepos.h and put the ToString() implementation in a .cpp file also, or ...?

Jul 8 2019, 19:11
markblundeberg added inline comments to D3474: Implement new checkmultisig trigger logic and execution logic..
Jul 8 2019, 17:48
markblundeberg added inline comments to D3474: Implement new checkmultisig trigger logic and execution logic..
Jul 8 2019, 16:58
markblundeberg added inline comments to D3581: Merge #10657: Utils: Improvements to ECDSA key-handling code.
Jul 8 2019, 14:25
markblundeberg accepted D3594: Partial backport of Core PR11167 to have similar feature in base58_tests.cpp.

Ah man, one of those backports ... I wonder if we missed something else relevant, I guess we'll just have to find out later when doing dependencies.

Jul 8 2019, 14:14
markblundeberg accepted D3578: Split off key_io_tests from base58_tests.
Jul 8 2019, 14:12
markblundeberg updated the diff for D3581: Merge #10657: Utils: Improvements to ECDSA key-handling code.

update per comments

Jul 8 2019, 13:23
markblundeberg accepted D3574: Use cstdint in generated test headers.
Jul 8 2019, 13:18
markblundeberg added inline comments to D3473: [refactor multisig] consolidate legacy mode logic.
Jul 8 2019, 04:16
markblundeberg updated the diff for D3474: Implement new checkmultisig trigger logic and execution logic..
  • rebase for new flag name
  • add a new error SCRIPT_ERR_INVALID_CHECKBITS_SIGNATURE (for want of a better name...)
  • small tweaks to tests
Jul 8 2019, 02:37
markblundeberg accepted D3575: Replace CBitcoinSecret with {Encode,Decode}Secret.
Jul 8 2019, 01:57
markblundeberg added a comment to D3590: whitespaces nits in CMakeLists.

I am not actually able to run CMake in my local setup ... if someone else can verify this before accepting that would be great.

Jul 8 2019, 01:55
markblundeberg updated the diff for D3590: whitespaces nits in CMakeLists.

did all the CMakeLists, not just the main one

Jul 8 2019, 01:45
markblundeberg created D3590: whitespaces nits in CMakeLists.
Jul 8 2019, 01:40
markblundeberg requested changes to D3574: Use cstdint in generated test headers.
Jul 8 2019, 01:36
markblundeberg requested review of D3579: Merge #11747: Fix: Open files read only if requested.
Jul 8 2019, 01:27
markblundeberg requested changes to D3578: Split off key_io_tests from base58_tests.
Jul 8 2019, 01:16
markblundeberg accepted D3577: Split key_io (address/key encodings) off from base58.
Jul 8 2019, 01:12
markblundeberg added inline comments to D3473: [refactor multisig] consolidate legacy mode logic.
Jul 8 2019, 01:08
markblundeberg updated the diff for D3473: [refactor multisig] consolidate legacy mode logic.

include more refactors

Jul 8 2019, 01:07
markblundeberg updated the diff for D3472: add SCRIPT_ENABLE_SCHNORR_MULTISIG flag for new multisig mode.

update name

Jul 8 2019, 01:01
markblundeberg accepted D3576: Stop using CBase58Data for ext keys.
Jul 8 2019, 00:56
markblundeberg requested changes to D3575: Replace CBitcoinSecret with {Encode,Decode}Secret.
Jul 8 2019, 00:53
markblundeberg accepted D3573: Remove test for legacy address when parsing URL in the GUI.
Jul 8 2019, 00:16
markblundeberg added inline comments to D3574: Use cstdint in generated test headers.
Jul 8 2019, 00:15

Jul 7 2019

markblundeberg added a revision to T631: Backport PR 15118 "Refactor block file logic": D3589: [5 of 5] Style cleanup..
Jul 7 2019, 23:06
markblundeberg added a task to D3589: [5 of 5] Style cleanup.: T631: Backport PR 15118 "Refactor block file logic".
Jul 7 2019, 23:06
markblundeberg created D3589: [5 of 5] Style cleanup..
Jul 7 2019, 22:49
markblundeberg added a revision to T631: Backport PR 15118 "Refactor block file logic": D3588: [4 of 5] scripted-diff: Rename CBlockDiskPos to FlatFilePos..
Jul 7 2019, 22:48
markblundeberg added a task to D3588: [4 of 5] scripted-diff: Rename CBlockDiskPos to FlatFilePos.: T631: Backport PR 15118 "Refactor block file logic".
Jul 7 2019, 22:48
markblundeberg created D3588: [4 of 5] scripted-diff: Rename CBlockDiskPos to FlatFilePos..
Jul 7 2019, 22:41
markblundeberg added inline comments to D3587: [3 of 5] Move CDiskBlockPos from chain to flatfile..
Jul 7 2019, 22:34
markblundeberg added a task to D3587: [3 of 5] Move CDiskBlockPos from chain to flatfile.: T631: Backport PR 15118 "Refactor block file logic".
Jul 7 2019, 22:31
markblundeberg added a revision to T631: Backport PR 15118 "Refactor block file logic": D3587: [3 of 5] Move CDiskBlockPos from chain to flatfile..
Jul 7 2019, 22:31
markblundeberg created D3587: [3 of 5] Move CDiskBlockPos from chain to flatfile..
Jul 7 2019, 22:31
markblundeberg added a comment to D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..

CI failure from validation_block_tests, seems to be unrelated...

Jul 7 2019, 22:29
markblundeberg updated the diff for D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..

CMakeLists

Jul 7 2019, 22:18
markblundeberg planned changes to D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..
Jul 7 2019, 22:14
markblundeberg added a task to D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class.: T631: Backport PR 15118 "Refactor block file logic".
Jul 7 2019, 21:56
markblundeberg added a revision to T631: Backport PR 15118 "Refactor block file logic": D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..
Jul 7 2019, 21:56
markblundeberg added a revision to T631: Backport PR 15118 "Refactor block file logic": D3585: [1 of 5] util: Move CheckDiskSpace to util..
Jul 7 2019, 21:56
markblundeberg added a task to D3585: [1 of 5] util: Move CheckDiskSpace to util.: T631: Backport PR 15118 "Refactor block file logic".
Jul 7 2019, 21:56
markblundeberg retitled D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class. from [part 2 of 5] validation: Extract basic block file logic into FlatFileSeq class. to [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..
Jul 7 2019, 21:55
markblundeberg created D3586: [2 of 5] validation: Extract basic block file logic into FlatFileSeq class..
Jul 7 2019, 21:55
markblundeberg created D3585: [1 of 5] util: Move CheckDiskSpace to util..
Jul 7 2019, 21:53
markblundeberg created D3584: Merge #13145: Use common getPath method to create temp directory in tests..
Jul 7 2019, 21:18
markblundeberg created D3583: Merge #13039: Add logging and error handling for file syncing.
Jul 7 2019, 20:21
markblundeberg updated the diff for D3582: Merge #10248: Rewrite addrdb with less duplication using CHashVerifier.

braces

Jul 7 2019, 20:19
markblundeberg planned changes to D3582: Merge #10248: Rewrite addrdb with less duplication using CHashVerifier.
Jul 7 2019, 20:11
markblundeberg created D3582: Merge #10248: Rewrite addrdb with less duplication using CHashVerifier.
Jul 7 2019, 20:08
markblundeberg created D3581: Merge #10657: Utils: Improvements to ECDSA key-handling code.
Jul 7 2019, 18:36
markblundeberg closed T468: Backport Core PRs related to mininode cleanup, a subtask of T445: December backports, as Resolved.
Jul 7 2019, 17:16Restricted Project
markblundeberg closed T468: Backport Core PRs related to mininode cleanup as Resolved.
Jul 7 2019, 17:16Restricted Project, Backport
markblundeberg closed T469: Backport Core PR11683, a subtask of T468: Backport Core PRs related to mininode cleanup, as Resolved.
Jul 7 2019, 17:16Restricted Project, Backport
markblundeberg closed T469: Backport Core PR11683 as Resolved.

D3205

Jul 7 2019, 17:16Restricted Project, Backport
markblundeberg closed T470: Backport Core PR11677, a subtask of T468: Backport Core PRs related to mininode cleanup, as Resolved.
Jul 7 2019, 17:15Restricted Project, Backport
markblundeberg closed T470: Backport Core PR11677, a subtask of T471: Backport Core PR11712, as Resolved.
Jul 7 2019, 17:15Restricted Project, Backport
markblundeberg closed T470: Backport Core PR11677 as Resolved.
Jul 7 2019, 17:15Restricted Project, Backport
markblundeberg closed T439: Backport Core PR 11648, a subtask of T418: Make sure the test suite passes after the Hard fork activation., as Resolved.
Jul 7 2019, 17:14Backport