Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Tests: address placement should be deterministic by default #10765
Conversation
fanquake
added the
Tests
label
Jul 7, 2017
| @@ -15,9 +15,13 @@ class CAddrManTest : public CAddrMan | ||
| uint64_t state; | ||
| public: | ||
| - CAddrManTest() | ||
| + CAddrManTest(bool makeDeterministic=true) |
promag
Jul 10, 2017
Contributor
Well there is no need for constructor argument, just call MakeDeterministic().
ReneNyffenegger
Jul 10, 2017
I've added the parameter bool makeDeterministic=true in case a future test explicitly doesn't want to call MakeDeterministic().
| { | ||
| state = 1; | ||
| + | ||
| + if (makeDeterministic) |
|
@ReneNyffenegger: |
ReneNyffenegger
commented
Jul 13, 2017
|
I really have no idea what's going on with this pull request. I've added the brackets for the if statement - now this pull request says that I want to merge 62 commits ... This is if course not true. |
ReneNyffenegger
added a commit
to ReneNyffenegger/bitcoin
that referenced
this pull request
Jul 13, 2017
|
|
ReneNyffenegger |
b47c851
|
ReneNyffenegger
commented
Jul 13, 2017
|
@jonasschnelli I've done the |
|
utACK |
|
Please run through clang format to fix white space and braces. Also adjust the commit message with |
ReneNyffenegger
commented
Jul 17, 2017
|
done clang formatting and amended commit message. |
ReneNyffenegger commentedJul 7, 2017
Better version of wrong and closed pull request #10764