Page MenuHomePhabricator
Feed Advanced Search

Jan 13 2020

markblundeberg requested changes to D4915: scripted-diff: Remove unused first argument to addUnchecked.

Ah fantastic, I was planning to do this at some point. Please fix rebase conflict (D4898 landed) but otherwise looks good, also include make bench-bitcoin (or whatever) in the test plan just to make sure that compiles too.

Jan 13 2020, 01:17
markblundeberg accepted D4914: Mark CTxMemPoolEntry members that should not be modified const.
Jan 13 2020, 01:13
markblundeberg accepted D4916: test: add "diamond" unit test to MempoolAncestryTests.
Jan 13 2020, 01:12
markblundeberg updated the diff for D4913: Merge #13142: Separate IsMine from solvability.

rebase

Jan 13 2020, 01:07
markblundeberg added inline comments to D4912: Reintroduce IsSolvable.
Jan 13 2020, 00:39
markblundeberg added inline comments to D4913: Merge #13142: Separate IsMine from solvability.
Jan 13 2020, 00:17
markblundeberg planned changes to D4903: Use virtualsize for mining/mempool priority.
Jan 13 2020, 00:14
markblundeberg updated the diff for D4903: Use virtualsize for mining/mempool priority.

rebase onto D4906 for CI

Jan 13 2020, 00:12
markblundeberg updated the diff for D4906: Add virtualsize computation to mempool.

rebase

Jan 13 2020, 00:09
markblundeberg retitled D4907: fix scriptSig analysis in sign.cpp from fic scriptSig analysis in sign.cpp to fix scriptSig analysis in sign.cpp.
Jan 13 2020, 00:08
markblundeberg updated the diff for D4905: track descendant sigops count in mempool.

rebase

Jan 13 2020, 00:06

Jan 12 2020

markblundeberg requested review of D4903: Use virtualsize for mining/mempool priority.
Jan 12 2020, 23:48
markblundeberg created D4913: Merge #13142: Separate IsMine from solvability.
Jan 12 2020, 12:55
markblundeberg added inline comments to D4912: Reintroduce IsSolvable.
Jan 12 2020, 12:50
markblundeberg created D4912: Reintroduce IsSolvable.
Jan 12 2020, 12:48
markblundeberg added a comment to D3888: Merge #12714: Introduce interface for signing providers.

note: this is missing IsSolvable changes (function did not exist at this time)

Jan 12 2020, 11:37
markblundeberg added a comment to D3121: Abstract out IsSolvable from Witnessifier.

(removed again in D3136)

Jan 12 2020, 11:32
markblundeberg updated the test plan for D4911: Merge #13002: Do not treat bare multisig outputs as IsMine unless watched.
Jan 12 2020, 11:01
markblundeberg created D4911: Merge #13002: Do not treat bare multisig outputs as IsMine unless watched.
Jan 12 2020, 11:01
markblundeberg created D4910: fix misc places that refer to virtual transaction size.
Jan 12 2020, 08:47
markblundeberg added a comment to D4828: Add keys to source package.

I agree with that rationale, in short "if you have any trusted copy of ABC, it contains the keys to verify any new version".

Jan 12 2020, 08:33
markblundeberg requested changes to D4900: parameterize ecmult_const over input size.

link to PR please

Jan 12 2020, 08:29
markblundeberg updated the diff for D4672: document MANDATORY_SCRIPT_VERIFY_FLAGS accurately.

smaller comment

Jan 12 2020, 08:26
markblundeberg added a comment to D4834: add sigChecks value to script cache.

Hmm weird I just noticed a bunch of these comments now (the first block) ... is it possible they didn't show up before? Anyway... back to work...

Jan 12 2020, 06:45
markblundeberg created D4908: simplify checkdatasig_tests.
Jan 12 2020, 05:52
markblundeberg created D4907: fix scriptSig analysis in sign.cpp.
Jan 12 2020, 05:45
markblundeberg updated the diff for D4903: Use virtualsize for mining/mempool priority.

Update for changes in ancestor, add note that this functions
equally well from two possible parents (one or the other).

Jan 12 2020, 05:22
markblundeberg updated the summary of D4905: track descendant sigops count in mempool.
Jan 12 2020, 05:09
markblundeberg added a comment to D4897: Add virtualsize tracking to mempool.

Alternative: D4905 and D4906

Jan 12 2020, 05:08
markblundeberg created D4906: Add virtualsize computation to mempool.
Jan 12 2020, 05:07
markblundeberg created D4905: track descendant sigops count in mempool.
Jan 12 2020, 04:32
markblundeberg updated the diff for D4904: [mempool_tests] add sigop counting check in TestPackageAccounting.

drop totalsigops (unused)

Jan 12 2020, 04:25
markblundeberg updated the diff for D4897: Add virtualsize tracking to mempool.

update ; split off sigops mempool test additions to D4904

Jan 12 2020, 03:26
markblundeberg created D4904: [mempool_tests] add sigop counting check in TestPackageAccounting.
Jan 12 2020, 03:22
markblundeberg updated the diff for D4896: redefine virtual transaction size to something useful.

rebase, SigOps->SigOpCount

Jan 12 2020, 02:48
markblundeberg added a comment to D4902: change default -blockmintxfee to 0.

In general, you'd want to patch to solve a problem. It is unclear here what that problem is.

Jan 12 2020, 02:34
markblundeberg added a comment to D4871: Added OP_REVERSEBYTES+implementation, added (always disabled) activation flag.

I'm not a fan of the new name... "Endian" to me seems hardware specific, and usually implies some power-of-2 number of bytes....

Jan 12 2020, 02:12
markblundeberg added inline comments to D4896: redefine virtual transaction size to something useful.
Jan 12 2020, 02:09
markblundeberg updated the diff for D4898: remove segwit 'sigops cost' leftovers.

prefer name like 'sig op count'; caught a few more mentions of 'cost'

Jan 12 2020, 01:05
markblundeberg added inline comments to D4897: Add virtualsize tracking to mempool.
Jan 12 2020, 00:03

Jan 11 2020

markblundeberg updated the diff for D4903: Use virtualsize for mining/mempool priority.

rm unused packageVirtualSize

Jan 11 2020, 15:20
markblundeberg added inline comments to D4903: Use virtualsize for mining/mempool priority.
Jan 11 2020, 15:18
markblundeberg created D4903: Use virtualsize for mining/mempool priority.
Jan 11 2020, 15:13
markblundeberg created D4902: change default -blockmintxfee to 0.
Jan 11 2020, 14:48
markblundeberg updated the diff for D4897: Add virtualsize tracking to mempool.

rebase & update tests

Jan 11 2020, 13:33
markblundeberg updated the diff for D4896: redefine virtual transaction size to something useful.

get rid of sigopscost concept (new parent)

Jan 11 2020, 12:06
markblundeberg updated the diff for D4898: remove segwit 'sigops cost' leftovers.

also rename virtualtxsize args

Jan 11 2020, 12:03
markblundeberg planned changes to D4898: remove segwit 'sigops cost' leftovers.
Jan 11 2020, 11:58
markblundeberg updated the summary of D4895: fix inappropriate uses of virtual size.
Jan 11 2020, 11:48
markblundeberg updated the test plan for D4895: fix inappropriate uses of virtual size.
Jan 11 2020, 11:47
markblundeberg created D4898: remove segwit 'sigops cost' leftovers.
Jan 11 2020, 11:45
markblundeberg planned changes to D4897: Add virtualsize tracking to mempool.
Jan 11 2020, 11:42
markblundeberg planned changes to D4896: redefine virtual transaction size to something useful.
Jan 11 2020, 10:48
markblundeberg created D4897: Add virtualsize tracking to mempool.
Jan 11 2020, 09:45
markblundeberg updated the summary of D4895: fix inappropriate uses of virtual size.
Jan 11 2020, 09:35
markblundeberg created D4896: redefine virtual transaction size to something useful.
Jan 11 2020, 09:29
markblundeberg created D4895: fix inappropriate uses of virtual size.
Jan 11 2020, 09:20

Jan 9 2020

markblundeberg added inline comments to D4834: add sigChecks value to script cache.
Jan 9 2020, 00:44
markblundeberg requested changes to D4871: Added OP_REVERSEBYTES+implementation, added (always disabled) activation flag.
Jan 9 2020, 00:43
markblundeberg added a comment to D4871: Added OP_REVERSEBYTES+implementation, added (always disabled) activation flag.

It looks like this depends on D4859 so make sure to note that in the summary as "Depends on D4859" -- phabricator should add a child-parent relationship.

Jan 9 2020, 00:33
markblundeberg added inline comments to D4834: add sigChecks value to script cache.
Jan 9 2020, 00:29

Jan 8 2020

markblundeberg added inline comments to D4617: add a flag that restricts sigChecks per-input.
Jan 8 2020, 23:12
markblundeberg updated the diff for D4834: add sigChecks value to script cache.

comments

Jan 8 2020, 07:47
markblundeberg added inline comments to D4834: add sigChecks value to script cache.
Jan 8 2020, 07:46
markblundeberg updated the diff for D4617: add a flag that restricts sigChecks per-input.

rebase for modified parent (no actual change)

Jan 8 2020, 06:49
markblundeberg updated the diff for D4835: VerifyScript: accumulate ScriptExecutionMetrics and return them.

copy to outparam rather than reset-modifying outparam

Jan 8 2020, 06:42
markblundeberg updated the task description for T706: Reintroducing free transactions.
Jan 8 2020, 00:51
markblundeberg added a comment to T706: Reintroducing free transactions.

One possibility that comes to mind is:

  • Calculate the coin-age of inputs as the lower of: BCH amount * number of confirmations, or BCH amount * N where N is some number in the 100s to 1000s. In other words, calculate coin-age as usual but clamp the age to some number ~ day-week length.
  • When limiting mempool entry (when comparing to minfeerate), calculate the fee as: actual_fee + X * input_coin_age for some very small X.
Jan 8 2020, 00:33

Jan 7 2020

markblundeberg created T706: Reintroducing free transactions.
Jan 7 2020, 22:43

Jan 5 2020

markblundeberg updated the diff for D4617: add a flag that restricts sigChecks per-input.

move consensus-affecting bits into D4835 so this is only the flag effect

Jan 5 2020, 05:18
markblundeberg updated the diff for D4835: VerifyScript: accumulate ScriptExecutionMetrics and return them.

absorb things from D4617 and flip dependency

Jan 5 2020, 05:16
markblundeberg added a revision to T704: sigChecks implementation: D4835: VerifyScript: accumulate ScriptExecutionMetrics and return them.
Jan 5 2020, 05:01
markblundeberg added a task to D4835: VerifyScript: accumulate ScriptExecutionMetrics and return them: T704: sigChecks implementation.
Jan 5 2020, 05:01
markblundeberg planned changes to D4835: VerifyScript: accumulate ScriptExecutionMetrics and return them.
Jan 5 2020, 04:49
markblundeberg planned changes to D4617: add a flag that restricts sigChecks per-input.
Jan 5 2020, 04:49
markblundeberg created D4835: VerifyScript: accumulate ScriptExecutionMetrics and return them.
Jan 5 2020, 04:11
markblundeberg updated the diff for D4617: add a flag that restricts sigChecks per-input.

rebase for parent landing ; move decl down

Jan 5 2020, 03:28
markblundeberg abandoned D4813: finish backporting PR9602 : remove ineffective parameter from `prioritisetransaction` RPC.
Jan 5 2020, 03:25
markblundeberg updated the diff for D4678: add nSigChecks counting to EvalScript.

sub 0 -> 0x00 to get linter to remove weird spaces

Jan 5 2020, 03:00
markblundeberg added a revision to T704: sigChecks implementation: D4834: add sigChecks value to script cache.
Jan 5 2020, 02:58
markblundeberg added a task to D4834: add sigChecks value to script cache: T704: sigChecks implementation.
Jan 5 2020, 02:58
markblundeberg added inline comments to D4834: add sigChecks value to script cache.
Jan 5 2020, 02:55
markblundeberg created D4834: add sigChecks value to script cache.
Jan 5 2020, 02:54

Jan 4 2020

markblundeberg added a reverting change for D2862: [mining] Rename several CBlockTemplateEntry members for clarity: D4831: Revert "[mining] Rename several CBlockTemplateEntry members for clarity".
Jan 4 2020, 10:21
markblundeberg created D4831: Revert "[mining] Rename several CBlockTemplateEntry members for clarity".
Jan 4 2020, 10:21
markblundeberg updated the summary of D4829: [rpc] Finish backporting changes to prioritisetransaction's priority_delta argument.
Jan 4 2020, 04:51
markblundeberg added a comment to D4829: [rpc] Finish backporting changes to prioritisetransaction's priority_delta argument.

I also have the PR10252 and PR10488 as distinct commits and can make diffs from them (stacking off D4813) if that is preferred.

Jan 4 2020, 02:13
markblundeberg added a comment to D4813: finish backporting PR9602 : remove ineffective parameter from `prioritisetransaction` RPC.

alt: D4829

Jan 4 2020, 02:10
markblundeberg added inline comments to D4829: [rpc] Finish backporting changes to prioritisetransaction's priority_delta argument.
Jan 4 2020, 02:10
markblundeberg created D4829: [rpc] Finish backporting changes to prioritisetransaction's priority_delta argument.
Jan 4 2020, 02:09
markblundeberg added inline comments to D4812: finish backporting PR9602 : remove unused priority number in mempool mapDeltas.
Jan 4 2020, 02:01
markblundeberg accepted D4758: Call InvalidateBlock without cs_main held.
Jan 4 2020, 01:07

Jan 3 2020

markblundeberg added inline comments to D4617: add a flag that restricts sigChecks per-input.
Jan 3 2020, 23:58
markblundeberg added a comment to D4813: finish backporting PR9602 : remove ineffective parameter from `prioritisetransaction` RPC.

Yeah fair enough, I was half-expecting this review. Actually the original PR 9602 did fully remove the argument, and I had no idea they restored the parameter as a dummy argument. I just invented the intermediate dummy step myself (the parent Diff) since it was a no-brainer.

Jan 3 2020, 23:16
markblundeberg updated the diff for D4813: finish backporting PR9602 : remove ineffective parameter from `prioritisetransaction` RPC.

tweak notes per comment

Jan 3 2020, 01:48
markblundeberg added inline comments to D4678: add nSigChecks counting to EvalScript.
Jan 3 2020, 01:44
markblundeberg updated the diff for D4617: add a flag that restricts sigChecks per-input.

Simplify by removing the scriptlen/23 piece.
I've been racking my brain trying to think of any examples that it would
impact and I can't find any.

Jan 3 2020, 01:40

Dec 31 2019

markblundeberg created D4814: finish backporting PR9602 - misc.
Dec 31 2019, 03:43
markblundeberg created D4813: finish backporting PR9602 : remove ineffective parameter from `prioritisetransaction` RPC.
Dec 31 2019, 03:41
markblundeberg created D4812: finish backporting PR9602 : remove unused priority number in mempool mapDeltas.
Dec 31 2019, 03:39