Page MenuHomePhabricator
Feed Advanced Search

Jan 30 2020

markblundeberg planned changes to D5029: deactivate sigops limits in phonon upgrade.
Jan 30 2020, 10:48
markblundeberg updated the diff for D5029: deactivate sigops limits in phonon upgrade.

rebase, still need a proper activation test

Jan 30 2020, 10:46
markblundeberg added a comment to D5029: deactivate sigops limits in phonon upgrade.

(this was actually missing one deactivation -- the per-tx limit, see D5076)

Jan 30 2020, 10:29
markblundeberg planned changes to D5065: Revert "save ScriptExecutionMetrics during CScriptCheck".
Jan 30 2020, 10:27
markblundeberg planned changes to D5066: Revert "move ScriptExecutionMetrics to its own file".

OK we can do these later...

Jan 30 2020, 10:23
markblundeberg added a comment to D5071: remove segwit recovery exemption from SCRIPT_VERIFY_INPUT_SIGCHECKS check.

no prob :)

Jan 30 2020, 10:23
markblundeberg accepted D5105: Merge #13948: trivial: Removes unsed `CBloomFilter` constructor..
Jan 30 2020, 08:13
markblundeberg accepted D5104: Merge #13913: qa: Remove redundant checkmempool/checkblockindex extra_args.
Jan 30 2020, 03:58
markblundeberg requested changes to D5105: Merge #13948: trivial: Removes unsed `CBloomFilter` constructor..

linked to wrong PR # (transposed digits)

Jan 30 2020, 03:56

Jan 28 2020

markblundeberg added a comment to D5081: ConnectBlock: fix slow usage of AddCoins.

An alternative possibility is to keep the current performance hit of using HaveCoin, and put it to work: reintroduce BIP30 checking for all new blocks. Then we aren't relying on our confidence in BIP34 to save us from bad times (which we maybe shouldn't be so confident about -- I wonder if there might be yet something else that every has overlooked).

Jan 28 2020, 16:58
markblundeberg added inline comments to D5081: ConnectBlock: fix slow usage of AddCoins.
Jan 28 2020, 16:05
markblundeberg updated the diff for D5081: ConnectBlock: fix slow usage of AddCoins.

update

Jan 28 2020, 14:40
markblundeberg updated the diff for D5027: always unpark even when -parkdeepreorg=0.

typo switcing -> switching

Jan 28 2020, 12:18
markblundeberg updated the diff for D5027: always unpark even when -parkdeepreorg=0.

rebase (conflict with hidden args changes in D5054)

Jan 28 2020, 12:16
markblundeberg added inline comments to D5067: LastCommonAncestor: use skiplist when available.
Jan 28 2020, 12:02
markblundeberg added a comment to D5076: make per-tx sigops limit contextual.

(reviewed it again myself, am happy with this)

Jan 28 2020, 11:46
markblundeberg added a revision to T704: sigChecks implementation: D5076: make per-tx sigops limit contextual.
Jan 28 2020, 09:31
markblundeberg added a task to D5076: make per-tx sigops limit contextual: T704: sigChecks implementation.
Jan 28 2020, 09:31
markblundeberg updated the diff for D5076: make per-tx sigops limit contextual.

update the ContextualCheckBlock comment (this diff adds a second
check of coinbase in ConnectBlock, so scary warning is not needed)

Jan 28 2020, 09:21
markblundeberg updated the diff for D5076: make per-tx sigops limit contextual.

use static_assert

Jan 28 2020, 09:14
markblundeberg added a comment to D5081: ConnectBlock: fix slow usage of AddCoins.

The (slight) danger of using AddCoins with check=false is that a block with a duplicate transaction will cause an exception if it gets to this point. I don't think this can really happen in practice: currently we have CheckBlock (ensures first tx is coinbase and nothing else is coinbase) and new blocks are checked with CTOR (excludes duplicate transactions among non-coinbases), and we have checkpoints to ensure alternative pre-CTOR blocks are not considered.

Jan 28 2020, 07:49

Jan 27 2020

markblundeberg added a comment to D5081: ConnectBlock: fix slow usage of AddCoins.

Ah OK, nevermind, as soon as I posted this I realized what's going on ... I get it now. :)

Jan 27 2020, 18:26
markblundeberg planned changes to D5081: ConnectBlock: fix slow usage of AddCoins.
Jan 27 2020, 18:03
markblundeberg updated the summary of D5081: ConnectBlock: fix slow usage of AddCoins.
Jan 27 2020, 17:55
markblundeberg created D5081: ConnectBlock: fix slow usage of AddCoins.
Jan 27 2020, 17:54
markblundeberg added inline comments to D5076: make per-tx sigops limit contextual.
Jan 27 2020, 15:18
markblundeberg created D5077: ConnectBlock : count sigops in one place.
Jan 27 2020, 13:26
markblundeberg added inline comments to D5076: make per-tx sigops limit contextual.
Jan 27 2020, 11:28
markblundeberg created D5076: make per-tx sigops limit contextual.
Jan 27 2020, 11:23
markblundeberg added inline comments to D1597: Pass flags down to GetP2SHSigOpCount and GetSigOpCountWithoutP2SH.
Jan 27 2020, 06:23
markblundeberg created D5073: add test that coinbase sigops are limited.
Jan 27 2020, 06:06
markblundeberg created D5072: rework AcceptToMemoryPoolWorker sigops counting.
Jan 27 2020, 05:21
markblundeberg updated the diff for D5061: move sigops counting from CheckBlock to ContextualCheckBlock.

consted

Jan 27 2020, 04:58
markblundeberg added a revision to T704: sigChecks implementation: D5061: move sigops counting from CheckBlock to ContextualCheckBlock.
Jan 27 2020, 04:31
markblundeberg added a task to D5061: move sigops counting from CheckBlock to ContextualCheckBlock: T704: sigChecks implementation.
Jan 27 2020, 04:31
markblundeberg added a task to D5062: split abc-p2p-fullblocktest into sigops and non-sigops parts: T704: sigChecks implementation.
Jan 27 2020, 04:31
markblundeberg added a revision to T704: sigChecks implementation: D5062: split abc-p2p-fullblocktest into sigops and non-sigops parts.
Jan 27 2020, 04:31
markblundeberg added a revision to T704: sigChecks implementation: D5060: split feature_block test into sigops and non-sigops parts.
Jan 27 2020, 04:31
markblundeberg added a task to D5060: split feature_block test into sigops and non-sigops parts: T704: sigChecks implementation.
Jan 27 2020, 04:31

Jan 26 2020

markblundeberg added a revision to T704: sigChecks implementation: D5071: remove segwit recovery exemption from SCRIPT_VERIFY_INPUT_SIGCHECKS check.
Jan 26 2020, 14:46
markblundeberg added a task to D5071: remove segwit recovery exemption from SCRIPT_VERIFY_INPUT_SIGCHECKS check: T704: sigChecks implementation.
Jan 26 2020, 14:46
markblundeberg created D5071: remove segwit recovery exemption from SCRIPT_VERIFY_INPUT_SIGCHECKS check.
Jan 26 2020, 14:40
markblundeberg created D5070: VerifyScript : return success from only one location.
Jan 26 2020, 14:30
markblundeberg added a reviewer for D5069: FinalizeBlockAndInvalidate: just use chainActive: deadalnix.
Jan 26 2020, 08:18
markblundeberg added a reviewer for D5067: LastCommonAncestor: use skiplist when available: deadalnix.
Jan 26 2020, 08:18
markblundeberg added a reviewer for D5068: AreOnTheSameFork: don't actually need to find common ancestor: deadalnix.
Jan 26 2020, 08:18
markblundeberg created D5069: FinalizeBlockAndInvalidate: just use chainActive.
Jan 26 2020, 08:16
markblundeberg created D5068: AreOnTheSameFork: don't actually need to find common ancestor.
Jan 26 2020, 05:46
markblundeberg created D5067: LastCommonAncestor: use skiplist when available.
Jan 26 2020, 05:38
markblundeberg requested review of D4903: Use virtualsize for mining/mempool priority.
Jan 26 2020, 04:24
markblundeberg added a comment to D4903: Use virtualsize for mining/mempool priority.

Split out the miner change and we can land the rest. Let's not delay due to open discussion.

Jan 26 2020, 04:22
markblundeberg added inline comments to D5061: move sigops counting from CheckBlock to ContextualCheckBlock.
Jan 26 2020, 03:58
markblundeberg added inline comments to D5061: move sigops counting from CheckBlock to ContextualCheckBlock.
Jan 26 2020, 03:56
markblundeberg updated the diff for D5061: move sigops counting from CheckBlock to ContextualCheckBlock.

use block flags

Jan 26 2020, 03:54
markblundeberg updated the diff for D5060: split feature_block test into sigops and non-sigops parts.

add comments

Jan 26 2020, 03:29
markblundeberg updated the diff for D5062: split abc-p2p-fullblocktest into sigops and non-sigops parts.

chmod

Jan 26 2020, 03:22
markblundeberg added inline comments to D5062: split abc-p2p-fullblocktest into sigops and non-sigops parts.
Jan 26 2020, 03:18
markblundeberg planned changes to D4917: more optimal virtualsize accounting with increments.
Jan 26 2020, 03:18
markblundeberg added inline comments to D5027: always unpark even when -parkdeepreorg=0.
Jan 26 2020, 02:30
markblundeberg updated the diff for D5027: always unpark even when -parkdeepreorg=0.

add -automaticunparking option

Jan 26 2020, 02:28

Jan 25 2020

markblundeberg added inline comments to D5061: move sigops counting from CheckBlock to ContextualCheckBlock.
Jan 25 2020, 15:17
markblundeberg added a revision to T704: sigChecks implementation: D5018: add input sigchecks limit to STANDARD_SCRIPT_VERIFY_FLAGS (but not mempool flags).
Jan 25 2020, 04:24
markblundeberg added a task to D5018: add input sigchecks limit to STANDARD_SCRIPT_VERIFY_FLAGS (but not mempool flags): T704: sigChecks implementation.
Jan 25 2020, 04:24
markblundeberg abandoned D4941: track ScriptExecutionMetrics in CheckInputs.

we will not be using ScriptExecutionMetrics

Jan 25 2020, 04:23
markblundeberg added a task to D5066: Revert "move ScriptExecutionMetrics to its own file": T704: sigChecks implementation.
Jan 25 2020, 04:22
markblundeberg added a revision to T704: sigChecks implementation: D5066: Revert "move ScriptExecutionMetrics to its own file".
Jan 25 2020, 04:22
markblundeberg added a reverting change for D4918: move ScriptExecutionMetrics to its own file: D5066: Revert "move ScriptExecutionMetrics to its own file".
Jan 25 2020, 04:22
markblundeberg added a reverting change for rABC8dc344a1d63d: move ScriptExecutionMetrics to its own file: D5066: Revert "move ScriptExecutionMetrics to its own file".
Jan 25 2020, 04:21
markblundeberg created D5066: Revert "move ScriptExecutionMetrics to its own file".
Jan 25 2020, 04:21
markblundeberg added a revision to T704: sigChecks implementation: D5065: Revert "save ScriptExecutionMetrics during CScriptCheck".
Jan 25 2020, 04:21
markblundeberg added a task to D5065: Revert "save ScriptExecutionMetrics during CScriptCheck": T704: sigChecks implementation.
Jan 25 2020, 04:21
markblundeberg added a reverting change for D4920: save ScriptExecutionMetrics during CScriptCheck: D5065: Revert "save ScriptExecutionMetrics during CScriptCheck".
Jan 25 2020, 04:16
markblundeberg added a reverting change for rABC8bbb45003d06: save ScriptExecutionMetrics during CScriptCheck: D5065: Revert "save ScriptExecutionMetrics during CScriptCheck".
Jan 25 2020, 04:16
markblundeberg created D5065: Revert "save ScriptExecutionMetrics during CScriptCheck".
Jan 25 2020, 04:16

Jan 24 2020

markblundeberg updated the test plan for D5029: deactivate sigops limits in phonon upgrade.
Jan 24 2020, 14:17
markblundeberg planned changes to D5029: deactivate sigops limits in phonon upgrade.
Jan 24 2020, 14:15
markblundeberg updated the diff for D5029: deactivate sigops limits in phonon upgrade.

updated all tests to pass, still need a proper activation test

Jan 24 2020, 14:14
markblundeberg created D5062: split abc-p2p-fullblocktest into sigops and non-sigops parts.
Jan 24 2020, 14:12
markblundeberg created D5061: move sigops counting from CheckBlock to ContextualCheckBlock.
Jan 24 2020, 12:40
markblundeberg created D5060: split feature_block test into sigops and non-sigops parts.
Jan 24 2020, 12:23
markblundeberg planned changes to D5059: [wip] consensus upgrade to restrict timestamps to be monotonic.
Jan 24 2020, 10:49
markblundeberg created D5059: [wip] consensus upgrade to restrict timestamps to be monotonic.
Jan 24 2020, 10:47

Jan 22 2020

markblundeberg added a reviewer for D5041: Fix parent<->child mixup in UnwindBlock: fpelliccioni.
Jan 22 2020, 14:42
markblundeberg added inline comments to D5041: Fix parent<->child mixup in UnwindBlock.
Jan 22 2020, 14:42
markblundeberg created D5041: Fix parent<->child mixup in UnwindBlock.
Jan 22 2020, 14:37
markblundeberg added a comment to D5040: build with -fstack-reuse=none.

Blarg, compiler bugs, that is fun :D

Jan 22 2020, 11:21

Jan 21 2020

markblundeberg updated the summary of D5019: CreateNewBlock: insert entries into block slightly earlier so that correct size is logged.
Jan 21 2020, 08:36
markblundeberg updated the diff for D4917: more optimal virtualsize accounting with increments.

add functional tests

Jan 21 2020, 08:30
markblundeberg updated the diff for D4903: Use virtualsize for mining/mempool priority.

small tweak - instead of using assert A.issubset(B), use
assert_equal(A.difference(B), set()) -- the latter one prints
out which A transactions are missing from B, if it fails.

Jan 21 2020, 07:54
markblundeberg planned changes to D4917: more optimal virtualsize accounting with increments.
Jan 21 2020, 07:23
markblundeberg updated the diff for D4917: more optimal virtualsize accounting with increments.

rebase; tweak ATMP virtualsize computation (same result)

Jan 21 2020, 07:22
markblundeberg updated the diff for D4903: Use virtualsize for mining/mempool priority.

expand tests greatly -- more logging statements, test a package with a very low sat/vbyte parent, and add blockmintxfee tests.

Jan 21 2020, 06:09
markblundeberg added inline comments to D4903: Use virtualsize for mining/mempool priority.
Jan 21 2020, 06:08
markblundeberg requested review of D4940: add a flag that (if unset) zeroes sigchecks reported by VerifyScript.
Jan 21 2020, 03:16
markblundeberg added inline comments to D4940: add a flag that (if unset) zeroes sigchecks reported by VerifyScript.
Jan 21 2020, 03:16
markblundeberg added a comment to D5032: Use trivial algorithm in ecmult_multi if scratch space is small.

Please link to PR in backports, it helps a lot with review.

Jan 21 2020, 01:18
markblundeberg accepted D4929: Make last disconnected block BLOCK_FAILED_VALID, even when aborted.

OK, looks good. It looks like there are more backports to do, at least https://github.com/bitcoin/bitcoin/pull/16849 (possibly others too).

Jan 21 2020, 00:05

Jan 20 2020

markblundeberg added a revision to T704: sigChecks implementation: D4941: track ScriptExecutionMetrics in CheckInputs.
Jan 20 2020, 13:24
markblundeberg added a task to D4941: track ScriptExecutionMetrics in CheckInputs: T704: sigChecks implementation.
Jan 20 2020, 13:24
markblundeberg added a revision to T704: sigChecks implementation: D5028: [WIP] track per-transaction SigChecks using a TransactionMetricsAccumulator.
Jan 20 2020, 13:24