Page MenuHomePhabricator
Feed All Stories

Aug 24 2017

CCulianu closed D481: Fixed sanitizers to compiled OK with Qt enabled by committing rABC206f9daafe4a: Fixed sanitizers to compiled OK with Qt enabled.
Aug 24 2017, 13:36
sickpig accepted D481: Fixed sanitizers to compiled OK with Qt enabled.
Aug 24 2017, 12:58
deadalnix accepted D481: Fixed sanitizers to compiled OK with Qt enabled.
Aug 24 2017, 12:50
Herald added a reviewer for D481: Fixed sanitizers to compiled OK with Qt enabled: Restricted Project.
Aug 24 2017, 10:57
freetrader committed rABC0ee4822fbc31: Add fork block checkpoints and update defaultAssumedValid and min chain work… (authored by freetrader).
Add fork block checkpoints and update defaultAssumedValid and min chain work…
Aug 24 2017, 09:15
freetrader closed D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet) by committing rABC0ee4822fbc31: Add fork block checkpoints and update defaultAssumedValid and min chain work….
Aug 24 2017, 09:15
freetrader updated the test plan for D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).
Aug 24 2017, 09:13
sickpig accepted D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).
Aug 24 2017, 07:42
freetrader requested review of D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).

Changes made based on previous review comments, quite a few so I'm returning to review:

Aug 24 2017, 06:45
freetrader updated the diff for D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).

Add comments from review, update minimum chain work and defaultAssumeValid hashes

Aug 24 2017, 06:41

Aug 23 2017

deadalnix accepted D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).

please add a comment for the fork block.

Aug 23 2017, 23:46
freetrader added a comment to D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).

@sickpig : Yes, you are right. I will update the definitions accordingly (also need to update testnet's defaultAssumeValid hash).

Aug 23 2017, 20:06
sickpig added a comment to D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet).

wonder if we could just add the 478559 and then rely on assumevalid to lessen the load due to validation during the sync step.

Aug 23 2017, 19:51
CCulianu abandoned D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).

Apparently you guys like holding locks for trivial checks rather than caching them

Aug 23 2017, 18:28
CCulianu abandoned D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.

Abandoned because it turns out we throw away non-cash ADDR's anyway a few lines later. So it doesn't hurt to accept ADDRs from non-cash nodes in the off chance they are telliing us about a Cash peer.

Aug 23 2017, 18:27
CCulianu added a comment to D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.

For networking code, we will always be past UAHF fork. Unless we invent a time machine.

Aug 23 2017, 18:02
Mengerian added a comment to D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.

For networking code, we will always be past UAHF fork. Unless we invent a time machine.

Aug 23 2017, 17:52
CCulianu added a comment to D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).

The flag should not really be necessary in my view, although I can live with it as an interim measure.

Aug 23 2017, 17:32
freetrader added a comment to D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).

The flag should not really be necessary in my view, although I can live with it as an interim measure.

Aug 23 2017, 16:41
Herald added 1 blocking reviewer(s) for D480: Add fork block checkpoints and update defaultAssumedValid and min chain work (main and testnet): Restricted Project.
Aug 23 2017, 16:29
hanchon added a comment to T95: (EC) Split the EC code in smaller task.

The first task is this: https://reviews.bitcoinabc.org/T94

Aug 23 2017, 14:52
hanchon created T95: (EC) Split the EC code in smaller task.
Aug 23 2017, 14:51
hanchon created T94: (EC) Mark the block as excessive.
Aug 23 2017, 14:47
CCulianu added a comment to D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).
In D479#8388, @zander wrote:

In classic I needed a 3-state.

  1. not active
  2. active, waiting for > 1MB block
  3. active

If you follow that I think you can delete some more overhead elsewhere.

Aug 23 2017, 11:11
CCulianu updated the summary of D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).
Aug 23 2017, 11:10
CCulianu updated the diff for D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.

Struggling with arcanist. This should do it.

Aug 23 2017, 11:08
CCulianu updated the diff for D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.

Eh.. rebase to not pick up unwanted diffs

Aug 23 2017, 11:05
CCulianu updated the summary of D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.
Aug 23 2017, 11:02
CCulianu updated the diff for D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.

Use new flag from D479

Aug 23 2017, 11:00
zander added a comment to D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).

In classic I needed a 3-state.

Aug 23 2017, 10:55
CCulianu updated the summary of D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff).
Aug 23 2017, 10:44
Herald added a reviewer for D479: Added fActiveChainTipIsUAHF as a global flag to indicate active chain is UAHF (potentially net_processing code needs this for NODE_CASH stuff): Restricted Project.
Aug 23 2017, 10:41
sickpig accepted D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.
Aug 23 2017, 10:30
zander accepted D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already.
Aug 23 2017, 10:13
CCulianu committed rABCda7242575063: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to… (authored by CCulianu).
Mark -uahfstarttime parameter as deprecated and issue a log warning if set to…
Aug 23 2017, 10:11
CCulianu closed D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default by committing rABCda7242575063: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to….
Aug 23 2017, 10:11
zander added a comment to D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default.

Hmm, sorry, this platform is confusing. I only now see the full diff... (the previous comment was regarding the assert).

Aug 23 2017, 10:07
CCulianu updated the test plan for D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default.
Aug 23 2017, 10:04
zander accepted D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default.

Good catch!

Aug 23 2017, 10:02
Herald added a reviewer for D478: Ignore ADDR messages from non-Cash peers if on the Cash chain already: Restricted Project.
Aug 23 2017, 10:01
freetrader accepted D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default.
Aug 23 2017, 09:59
CCulianu updated the diff for D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default.

Assert was in the wrong place.

Aug 23 2017, 09:23
Herald added a reviewer for D477: Mark -uahfstarttime parameter as deprecated and issue a log warning if set to anything other than default: Restricted Project.
Aug 23 2017, 09:18
hanchon committed rABC2ea663975845: autopep8 rpc-tests.py (authored by hanchon).
autopep8 rpc-tests.py
Aug 23 2017, 00:01
hanchon closed D476: autopep8 rpc-tests.py by committing rABC2ea663975845: autopep8 rpc-tests.py.
Aug 23 2017, 00:01

Aug 22 2017

CCulianu abandoned D468: WIP - SafeMode warning fix: attempt to detect when the fork is behind a checkpoint.
In D468#8161, @zander wrote:

FYI; the CheckForkWarningConditions() and friends use hard-coded block-counts and show a warning of a nature that I'm not sure is of any value. As such this code has been removed in Classic.

Aug 22 2017, 21:23
CCulianu accepted D476: autopep8 rpc-tests.py.
Aug 22 2017, 21:21
CCulianu committed rABCeb04e1119ac2: TRIVIAL: Fix log file message for client name to match CLIENT_NAME (authored by CCulianu).
TRIVIAL: Fix log file message for client name to match CLIENT_NAME
Aug 22 2017, 21:20
CCulianu closed D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME by committing rABCeb04e1119ac2: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.
Aug 22 2017, 21:20
Herald added a reviewer for D476: autopep8 rpc-tests.py: Restricted Project.
Aug 22 2017, 21:19
deadalnix accepted D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.
Aug 22 2017, 21:05
deadalnix requested changes to D443: WIP - EC: basic forking test and basic block size check.

You broke the DoS protection provided by the block size. You can't remove the checks and need to bail there or the node may end up spending a large amount of computation on a block that isn't valid. You need to mark the block as excessive there and bail. Then, when the condition fixed by the policy are met, the block needs to be reconsidered (see what reconsiderblock rpc is doing, that may help).

Aug 22 2017, 21:05
hanchon added a comment to D443: WIP - EC: basic forking test and basic block size check.

The autopep8 changes weren't in the master branch, i'll create a new diff with them

Aug 22 2017, 20:57
hanchon updated the diff for D443: WIP - EC: basic forking test and basic block size check.

rebase to current master to get the autopep8 changes in the rpc-tests.py file

Aug 22 2017, 20:54
freetrader created T93: Settle the MIME type question raised in T88.
Aug 22 2017, 14:43
freetrader closed T88: Change payment request URI prefix from "bitcoin:" to something else as Resolved.

The URI (main part of this issue) is done, marking as Resolved.

Aug 22 2017, 14:31

Aug 21 2017

deadalnix committed rABCf17b1957b9d2: Resolve FIXMEs in src/net.cpp (pass config through CConnman) (authored by freetrader).
Resolve FIXMEs in src/net.cpp (pass config through CConnman)
Aug 21 2017, 20:20
deadalnix closed D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman) by committing rABCf17b1957b9d2: Resolve FIXMEs in src/net.cpp (pass config through CConnman) (authored by freetrader).
Aug 21 2017, 20:19
freetrader accepted D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.
Aug 21 2017, 10:25
sickpig accepted D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.
Aug 21 2017, 09:04
CCulianu accepted D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).
Aug 21 2017, 07:37

Aug 20 2017

deadalnix updated the diff for D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).

Make the field a pointer

Aug 20 2017, 23:46
deadalnix commandeered D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).
Aug 20 2017, 23:46
CCulianu added a comment to D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.

I was on clang-format-4.0.

Aug 20 2017, 23:26
CCulianu updated the diff for D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.

Undid linter

Aug 20 2017, 23:26
CCulianu added inline comments to D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).
Aug 20 2017, 23:13
deadalnix added inline comments to D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).
Aug 20 2017, 23:02
deadalnix requested changes to D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.

There are a ton of formatting changes that have nothing to do with anything in there. We are using clang-format-3.8 .

Aug 20 2017, 22:52
CCulianu added a comment to D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME.

Note -- this patch also contains some stuff the linter picked up.

Aug 20 2017, 22:24
Herald added a reviewer for D475: TRIVIAL: Fix log file message for client name to match CLIENT_NAME: Restricted Project.
Aug 20 2017, 22:22
freetrader planned changes to D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).

From discussions on Slack, it's become clear that a reference member is to be avoided and a pointer used instead.

Aug 20 2017, 21:42
freetrader requested review of D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).

Back to review for more feedback on what changes exactly are required for this diff.

Aug 20 2017, 12:18
hanchon updated the diff for D443: WIP - EC: basic forking test and basic block size check.

Removed blocksize code. Moved block check to the globalconfig. Fixed index error in FindMostWorkChain.

Aug 20 2017, 00:30

Aug 19 2017

CCulianu added inline comments to D470: Add the API to add/spend coin on a per UTXO basis..
Aug 19 2017, 22:44
deadalnix added inline comments to D471: Kill ModifyCoin.
Aug 19 2017, 22:40
deadalnix added inline comments to D470: Add the API to add/spend coin on a per UTXO basis..
Aug 19 2017, 22:32
CCulianu accepted D470: Add the API to add/spend coin on a per UTXO basis..

Ok, this looks exceptionally well crafted to me. Approved.

Aug 19 2017, 22:22
deadalnix added inline comments to D470: Add the API to add/spend coin on a per UTXO basis..
Aug 19 2017, 22:14
CCulianu requested changes to D471: Kill ModifyCoin.

Added some comments.

Aug 19 2017, 01:12
CCulianu requested changes to D470: Add the API to add/spend coin on a per UTXO basis..
Aug 19 2017, 00:58
CCulianu accepted D470: Add the API to add/spend coin on a per UTXO basis..

Overall this looks good and I agree with this entire class and with the usage and code. See my in-line comments.

Aug 19 2017, 00:29

Aug 18 2017

CCulianu added a comment to D470: Add the API to add/spend coin on a per UTXO basis..

Then review it.

Aug 18 2017, 23:04
CCulianu added inline comments to D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).
Aug 18 2017, 22:58
deadalnix requested changes to D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).
Aug 18 2017, 21:54
deadalnix added a comment to D470: Add the API to add/spend coin on a per UTXO basis..

Then review it.

Aug 18 2017, 21:49

Aug 17 2017

freetrader updated the diff for D311: Resolve FIXMEs in src/net.cpp (pass config through CConnman).

Use references instead of pointer

Aug 17 2017, 15:43
CCulianu committed rABC315c6029f0f1: Added sanitizer support for configure script: ASAN, TSAN and UBSAN (authored by CCulianu).
Added sanitizer support for configure script: ASAN, TSAN and UBSAN
Aug 17 2017, 05:07
CCulianu closed D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN by committing rABC315c6029f0f1: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.
Aug 17 2017, 05:07

Aug 16 2017

deadalnix requested changes to D443: WIP - EC: basic forking test and basic block size check.

Back on your queue

Aug 16 2017, 21:30
deadalnix accepted D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.
Aug 16 2017, 21:25
CCulianu updated the diff for D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.

Added some useful output to end of configure script to indicate which sanitizers, if any, are enabled

Aug 16 2017, 17:49
CCulianu added a comment to D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.

Note: it works. Here is some sample output.

Aug 16 2017, 17:20
CCulianu added a comment to D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.

Can you try to introduce errors on purpose in the code to check that the sanitizers are properly used ?

Aug 16 2017, 08:52
schancel committed rABCca07bf33a79f: bitcoin URI to bitcoincash URI (authored by schancel).
bitcoin URI to bitcoincash URI
Aug 16 2017, 02:37

Aug 15 2017

deadalnix added a comment to D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.

Can you try to introduce errors on purpose in the code to check that the sanitizers are properly used ?

Aug 15 2017, 23:08
CCulianu committed rABC65987b1ab815: Fixed overflow in GetPerformanceCounter() (authored by CCulianu).
Fixed overflow in GetPerformanceCounter()
Aug 15 2017, 22:57
CCulianu closed D472: Fixed overflow in GetPerformanceCounter() by committing rABC65987b1ab815: Fixed overflow in GetPerformanceCounter().
Aug 15 2017, 22:57
CCulianu updated the test plan for D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.
Aug 15 2017, 22:10
CCulianu updated the summary of D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.
Aug 15 2017, 22:09
CCulianu updated the summary of D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN.
Aug 15 2017, 22:08