Page MenuHomePhabricator
Feed Advanced Search

Aug 20 2017

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
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

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
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
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

Aug 17 2017

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

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

Aug 15 2017

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
Herald added a reviewer for D474: Added sanitizer support for configure script: ASAN, TSAN and UBSAN: Restricted Project.
Aug 15 2017, 22:07
CCulianu abandoned D473: Applying suggested linter output for my changes..
Aug 15 2017, 18:31
CCulianu commandeered D473: Applying suggested linter output for my changes..
Aug 15 2017, 18:31
CCulianu updated the diff for D472: Fixed overflow in GetPerformanceCounter().

Modified to be minimally required expression syntax to have all types auto-promoted to int64

Aug 15 2017, 08:10
Herald added a reviewer for D472: Fixed overflow in GetPerformanceCounter(): Restricted Project.
Aug 15 2017, 01:54

Aug 14 2017

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

I can't apply the patch.. :/

Aug 14 2017, 20:49
CCulianu added a comment to T38: Implement a buildbot for master.
In T38#1292, @schancel wrote:

Do we specifically want to use buildbot? Or is that being used loosely? How many different build configurations do we need?

Aug 14 2017, 18:07
CCulianu added a comment to T38: Implement a buildbot for master.

I can think of something ultra-simple that meets these requirements:

Aug 14 2017, 18:07

Aug 12 2017

CCulianu abandoned D469: Updated top-of-file comments to include (c) 2017 The Bitcoin Developers.

Ok, well, then I'll close this revision.

Aug 12 2017, 11:48
CCulianu added a comment to D469: Updated top-of-file comments to include (c) 2017 The Bitcoin Developers.

@freetrader so you're decidedly against changing copyright notices to include us?

Aug 12 2017, 04:53

Aug 11 2017

CCulianu updated the diff for D469: Updated top-of-file comments to include (c) 2017 The Bitcoin Developers.

Oops.. a few files already had the (c) message so it was duplicated. Removed duplicates.

Aug 11 2017, 17:28
Herald added a reviewer for D469: Updated top-of-file comments to include (c) 2017 The Bitcoin Developers: Restricted Project.
Aug 11 2017, 17:14
CCulianu added a reviewer for D468: WIP - SafeMode warning fix: attempt to detect when the fork is behind a checkpoint: zander.
Aug 11 2017, 11:34
CCulianu planned changes to D468: WIP - SafeMode warning fix: attempt to detect when the fork is behind a checkpoint.
Aug 11 2017, 11:32
CCulianu edited reviewers for D468: WIP - SafeMode warning fix: attempt to detect when the fork is behind a checkpoint, added: freetrader; removed: Restricted Project.
Aug 11 2017, 11:32
Herald added a reviewer for D468: WIP - SafeMode warning fix: attempt to detect when the fork is behind a checkpoint: Restricted Project.
Aug 11 2017, 11:29
CCulianu abandoned D467: WIP - disable safe mode for forks detected behind the checkpoint.

What da fuq arcanist?!?!

Aug 11 2017, 11:26
Herald added 1 blocking reviewer(s) for D467: WIP - disable safe mode for forks detected behind the checkpoint: Restricted Project.
Aug 11 2017, 11:26
CCulianu added a comment to T88: Change payment request URI prefix from "bitcoin:" to something else.

Question was also asked by me in D466

Aug 11 2017, 09:14
CCulianu committed rABC43f5fd15d1eb: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists (authored by CCulianu).
Removed all usages of boost::assign::list_of in favor of C++11 initializer lists
Aug 11 2017, 06:25
CCulianu closed D465: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists by committing rABC43f5fd15d1eb: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists.
Aug 11 2017, 06:25

Aug 10 2017

CCulianu added inline comments to D465: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists.
Aug 10 2017, 19:42
CCulianu updated the diff for D465: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists.

Better formatting (also implemented deadalnix's recommendations)

Aug 10 2017, 19:39
CCulianu planned changes to D465: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists.

Thanks for the feedback. I just did a quick pass to change it over -- but your readability feedback is good. I'll change it and update the revision.

Aug 10 2017, 18:57
CCulianu added a reviewer for D465: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists: ealmansi.
Aug 10 2017, 17:54
Herald added a reviewer for D465: Removed all usages of boost::assign::list_of in favor of C++11 initializer lists: Restricted Project.
Aug 10 2017, 17:07
CCulianu abandoned D464: unsigned char -> uint8_t and remove using namespace std.

ok

Aug 10 2017, 16:12
CCulianu updated the summary of D464: unsigned char -> uint8_t and remove using namespace std.
Aug 10 2017, 15:34
CCulianu updated the summary of D464: unsigned char -> uint8_t and remove using namespace std.
Aug 10 2017, 15:34
Herald added a reviewer for D464: unsigned char -> uint8_t and remove using namespace std: Restricted Project.
Aug 10 2017, 15:32
CCulianu accepted D456: Make SCRIPT_ENABLE_SIGHASH_FORKID a mandatory flag..

This looks ok to me.. I'm accepting.

Aug 10 2017, 15:18
CCulianu accepted D460: unsigned char => uint8_t.

Ok, I went over everything. Looks good to me.

Aug 10 2017, 15:04
CCulianu committed rABC0ec4004f99fc: Replace use of boost/assign/list_of with more readable C++-11 initializer lists… (authored by CCulianu).
Replace use of boost/assign/list_of with more readable C++-11 initializer lists…
Aug 10 2017, 14:18
CCulianu closed D463: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp by committing rABC0ec4004f99fc: Replace use of boost/assign/list_of with more readable C++-11 initializer lists….
Aug 10 2017, 14:18
CCulianu updated the summary of D463: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp.
Aug 10 2017, 14:16
CCulianu abandoned D458: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp.
Aug 10 2017, 14:15
Herald added a reviewer for D463: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp: Restricted Project.
Aug 10 2017, 14:15
CCulianu added a comment to D460: unsigned char => uint8_t.

I can't apply the patch.. fails against master.. what did you do, deadalnix?

Aug 10 2017, 14:08
CCulianu accepted D459: Formatting tinyformat.h and consensus/validation.h.

Went over all the changes by eye carefully and also compiled. Works and looks fine.

Aug 10 2017, 14:06
CCulianu accepted D462: Get rid of blanket std import from util*.cpp and script/ismine.cpp.

looks good, accept

Aug 10 2017, 13:45
CCulianu updated the diff for D458: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp.
Aug 10 2017, 13:38
CCulianu added a comment to D458: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp.

WTF.. arc messed this up. Why?!

Aug 10 2017, 13:33
CCulianu updated the diff for D458: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp.

Forgot one, thanks freetrader

Aug 10 2017, 13:33
CCulianu planned changes to D458: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp.

I'll update

Aug 10 2017, 13:29
Herald added a reviewer for D458: Replace use of boost/assign/list_of with more readable C++-11 initializer lists in rpc/rawtransaction.cpp: Restricted Project.
Aug 10 2017, 12:13
CCulianu committed rABC425af746dfdd: Fix RPC signrawtransaction silently accepting missing amount field, make it… (authored by CCulianu).
Fix RPC signrawtransaction silently accepting missing amount field, make it…
Aug 10 2017, 11:38
CCulianu closed D449: Fix RPC signrawtransaction silently accepting missing amount field, make it throw an error instead by committing rABC425af746dfdd: Fix RPC signrawtransaction silently accepting missing amount field, make it….
Aug 10 2017, 11:38
CCulianu accepted D457: Peer preferentially with NODE_CASH nodes.

OK, perfect. Works as intended.

Aug 10 2017, 11:22
CCulianu accepted D455: Always sign using replay protection.

This looks correct to me and I can't think of any place you "missed a spot".

Aug 10 2017, 09:14
CCulianu added a comment to D457: Peer preferentially with NODE_CASH nodes.

No, you're right, -noprefcashpeer is not working as intended. I'd need to elaborate the condition you pointed at.
If we want to keep the option, that is.

Aug 10 2017, 09:06
CCulianu added inline comments to D443: WIP - EC: basic forking test and basic block size check.
Aug 10 2017, 08:58
CCulianu added a comment to D457: Peer preferentially with NODE_CASH nodes.

I like the addition of the command-line argument. I can imagine use cases where someone might want this turned off explicitly (say, when synching up or whatnot). We should leave the command-line argument in.

Aug 10 2017, 08:16
CCulianu added a comment to T90: Convert format strings using %u for bools to use %d instead.

Yeah it's just a good habit because some compilers can warn about format types not matching arguments if you tag the function as being a printf-style function.

Aug 10 2017, 07:47

Aug 9 2017

CCulianu added a project to T77: Consider removing prevector and switching back to good 'ol vector (with possible .reserve calls): Restricted Project.
Aug 9 2017, 20:40 · Bootcamp, Restricted Project
CCulianu created T89: Consider adding -maxoutconnections to command-line and config file (like BU has).
Aug 9 2017, 20:39 · Restricted Project
CCulianu added inline comments to D456: Make SCRIPT_ENABLE_SIGHASH_FORKID a mandatory flag..
Aug 9 2017, 20:33
CCulianu committed rABCbabd6da6ec03: Fix small Mac OSX memory leak (imported from BU sources) (authored by CCulianu).
Fix small Mac OSX memory leak (imported from BU sources)
Aug 9 2017, 19:00
CCulianu closed D452: Fix small Mac OSX memory leak (imported from BU sources) by committing rABCbabd6da6ec03: Fix small Mac OSX memory leak (imported from BU sources).
Aug 9 2017, 19:00
CCulianu added a comment to D452: Fix small Mac OSX memory leak (imported from BU sources).

Nice, thanks. Accepted on code review basis, @CCulianu you are responsible if this breaks Mac users :-)

Aug 9 2017, 18:58
CCulianu added a comment to D452: Fix small Mac OSX memory leak (imported from BU sources).

FYI since you guys don't have MacOS -- here is proof that this thing builds on Mac:

Aug 9 2017, 18:37
CCulianu accepted D442: Do not check for non replay protected transaction in CheckInputs.

Ok, after talking to deadalnix about it, he convinced me the netsplit risk isn't so large and that we want to be strict about tx format -- so rejecting the TX (which leads to a ban) is what we're going to do.

Aug 9 2017, 18:17
CCulianu added a comment to D442: Do not check for non replay protected transaction in CheckInputs.
In D442#7735, @thezerg wrote:

A ban is a big thing. Why not be tolerant for a month or two more to avoid risking a network split?

Aug 9 2017, 17:51
CCulianu accepted D451: Only do replay protected transactions in rawtransaction rpc.

Looks perfect, and works on top of that (all extended tests pass).

Aug 9 2017, 17:49
CCulianu accepted D454: A pack of nits for rpcwallet.cpp.
Aug 9 2017, 17:38
CCulianu updated the diff for D449: Fix RPC signrawtransaction silently accepting missing amount field, make it throw an error instead.

Got rid of redundant check for MoneyValue (AmountFromValue already did that), expanded on comments

Aug 9 2017, 16:54
CCulianu updated the diff for D452: Fix small Mac OSX memory leak (imported from BU sources).

Oops, missed a set of braces

Aug 9 2017, 15:38
CCulianu updated the diff for D452: Fix small Mac OSX memory leak (imported from BU sources).

Added changes as per reviewer comments

Aug 9 2017, 15:36
CCulianu planned changes to D452: Fix small Mac OSX memory leak (imported from BU sources).
Aug 9 2017, 15:20

Aug 8 2017

CCulianu updated the diff for D452: Fix small Mac OSX memory leak (imported from BU sources).

Forgot 1 line

Aug 8 2017, 22:54
CCulianu updated the summary of D452: Fix small Mac OSX memory leak (imported from BU sources).
Aug 8 2017, 22:49
Herald added a reviewer for D452: Fix small Mac OSX memory leak (imported from BU sources): Restricted Project.
Aug 8 2017, 22:47
CCulianu added inline comments to D449: Fix RPC signrawtransaction silently accepting missing amount field, make it throw an error instead.
Aug 8 2017, 21:07
CCulianu added a comment to D451: Only do replay protected transactions in rawtransaction rpc.

Added an inline comment.. will review more in-depth tomorrow (to make sure it doesn't break any testsm python tests, etc), but otherwise it looks correct

Aug 8 2017, 21:03
CCulianu accepted D444: Only accept replay protected transactions in the mempool..
Aug 8 2017, 19:36
CCulianu accepted D440: Update txvalidationcache_tests to use replay protected transactions..

Looks good and it's what we need, especially for D444

Aug 8 2017, 19:34
CCulianu added a comment to D444: Only accept replay protected transactions in the mempool..

Oops! I didn't realize D440 was part of this stack. You should have mentioned that. i totally didn't see it.

Aug 8 2017, 19:33
CCulianu requested changes to D444: Only accept replay protected transactions in the mempool..

I think you need to update the txvalidationcache_tests -- right now C++ tests are failing with this patch, because the test case doesn't construct replay protected tx's.

Aug 8 2017, 19:18
CCulianu updated the diff for D449: Fix RPC signrawtransaction silently accepting missing amount field, make it throw an error instead.

Updated permissions on signrawtransaction.py to +x

Aug 8 2017, 18:56
CCulianu committed rABC3e24257cec55: Set mode +x to signrawtransactions.py (authored by CCulianu).
Set mode +x to signrawtransactions.py
Aug 8 2017, 18:43