Page MenuHomePhabricator
Feed Advanced Search

Mar 23 2021

PiRK planned changes to D9345: [avalanche] set a minimum amount for a proof.
Mar 23 2021, 18:11
PiRK requested review of D9345: [avalanche] set a minimum amount for a proof.
Mar 23 2021, 18:11
PiRK requested review of D9323: [avalanche] register our proof after IBD.
Mar 23 2021, 09:54

Mar 22 2021

PiRK planned changes to D9323: [avalanche] register our proof after IBD.

Based on D9342, we can potentially register the proof earlier depending on the proofs ValidationState at init.

Mar 22 2021, 20:17
PiRK updated the diff for D9323: [avalanche] register our proof after IBD.

rebase on master after landing D9342

Mar 22 2021, 20:03
PiRK accepted D9342: Verify avalanche proof at init.
Mar 22 2021, 19:26
PiRK updated the summary of D9341: [avalanche] improve the test for the avahello handshake.
Mar 22 2021, 17:17
PiRK requested review of D9341: [avalanche] improve the test for the avahello handshake.
Mar 22 2021, 17:17
PiRK updated the diff for D9338: [avalanche] refactor conditional processing in ProcessMessage.

drop the if

Mar 22 2021, 13:47
PiRK accepted D9339: Drop duplicated chainparamsconstants.cpp.
Mar 22 2021, 10:54
PiRK accepted D9340: Drop bch network.
Mar 22 2021, 10:32
PiRK added a comment to D9338: [avalanche] refactor conditional processing in ProcessMessage.

I suspect that the if (!g_avalanche) test will never be true. In init.cpp, g_avalanche is set in step 7 before the node actually starts connecting to peers (step 12).

Mar 22 2021, 09:31
PiRK updated the summary of D9338: [avalanche] refactor conditional processing in ProcessMessage.
Mar 22 2021, 09:21
PiRK updated the diff for D9338: [avalanche] refactor conditional processing in ProcessMessage.

move & add comments

Mar 22 2021, 09:20
PiRK requested review of D9338: [avalanche] refactor conditional processing in ProcessMessage.
Mar 22 2021, 09:14

Mar 19 2021

PiRK closed D9329: [avalanche] implement buildRemoteSighash and buildLocalSighash.
Mar 19 2021, 16:53
PiRK committed rABCf07ea60dfe3a: [avalanche] implement buildRemoteSighash and buildLocalSighash (authored by PiRK).
[avalanche] implement buildRemoteSighash and buildLocalSighash
Mar 19 2021, 16:53
PiRK added inline comments to D9327: [avalanche] implement an avalanche handshake.
Mar 19 2021, 15:45
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

address most of the review items

Mar 19 2021, 15:38
PiRK retitled D9329: [avalanche] implement buildRemoteSighash and buildLocalSighash from [avalanche] implement buildRemoteChallenge and buildLocalChallenge to [avalanche] implement buildRemoteSighash and buildLocalSighash.
Mar 19 2021, 13:17
PiRK updated the diff for D9329: [avalanche] implement buildRemoteSighash and buildLocalSighash.

rename "Challenge" -> "Sighash" to keep the c++ and python code consistent

Mar 19 2021, 13:16
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

fix typo: I accidentaly turned MSG_CMPCT_BLOCK into a tuple by appending a comma to the line

Mar 19 2021, 10:11
PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.

must fix another test broken by change to CInv

Mar 19 2021, 10:05
PiRK accepted D9333: Bump version to 0.23.0.
Mar 19 2021, 09:16
PiRK accepted D9332: net: improve nLastBlockTime and nLastTXTime documentation.
Mar 19 2021, 07:25
PiRK accepted D9331: net, rpc: expose nLastBlockTime/nLastTXTime as last block/last_transaction in getpeerinfo.
Mar 19 2021, 07:23
PiRK accepted D9330: p2p: Reduce inv traffic during IBD.
Mar 19 2021, 07:17

Mar 18 2021

PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

add a basic test

Mar 18 2021, 14:19
PiRK added a comment to D9329: [avalanche] implement buildRemoteSighash and buildLocalSighash.

I just noticed that buildRemoteChallenge is already implemented in the test framework and is called get_sighash: https://reviews.bitcoinabc.org/source/bitcoin-abc/browse/master/test/functional/test_framework/messages.py$998

Mar 18 2021, 09:48
PiRK updated the diff for D9323: [avalanche] register our proof after IBD.

add a test (contributed by @Fabien)

Mar 18 2021, 09:37
PiRK updated the summary of D9327: [avalanche] implement an avalanche handshake.
Mar 18 2021, 09:24
PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.
Mar 18 2021, 09:24
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

rebase on top of D9329 to factor out the remote challenge generation

Mar 18 2021, 09:24
PiRK requested review of D9329: [avalanche] implement buildRemoteSighash and buildLocalSighash.
Mar 18 2021, 09:19
PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.
Mar 18 2021, 08:33
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

rebase after merging D9306

Mar 18 2021, 08:33
PiRK closed D9306: [avalanche] add an upper limit for the number of UTXOs in a proof.
Mar 18 2021, 08:18
PiRK committed rABC7006b4646f01: [avalanche] add an upper limit for the number of UTXOs in a proof (authored by PiRK).
[avalanche] add an upper limit for the number of UTXOs in a proof
Mar 18 2021, 08:18
PiRK requested review of D9323: [avalanche] register our proof after IBD.
Mar 18 2021, 07:58
PiRK planned changes to D9323: [avalanche] register our proof after IBD.
Mar 18 2021, 07:56

Mar 17 2021

PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.
Mar 17 2021, 15:16
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

implement missing step in the avalanche handshake:
after receiving a avahello message, a node requests the proof corresponding to the proofid in the delegation,
and now the other node responds to this request with its proof.

Mar 17 2021, 15:16
PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.
Mar 17 2021, 14:14
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

don't forget to define the AVAPROOF net msg type

Mar 17 2021, 08:39
PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.
Mar 17 2021, 08:33
PiRK updated the diff for D9327: [avalanche] implement an avalanche handshake.

nits

Mar 17 2021, 08:33
PiRK planned changes to D9327: [avalanche] implement an avalanche handshake.
Mar 17 2021, 08:30
PiRK requested review of D9327: [avalanche] implement an avalanche handshake.
Mar 17 2021, 08:30

Mar 16 2021

PiRK updated the diff for D9323: [avalanche] register our proof after IBD.

fix build failure

Mar 16 2021, 14:13
PiRK updated the diff for D9323: [avalanche] register our proof after IBD.

if proof validation fails due to missing UTXO, don't give up. Maybe the UTXO will be in a future block.

Mar 16 2021, 13:42
PiRK requested review of D9323: [avalanche] register our proof after IBD.
Mar 16 2021, 10:20

Mar 15 2021

PiRK closed D9304: [avalanche] discourage ava messages if avalanche is disabled.
Mar 15 2021, 07:09
PiRK committed rABC9a8815856a28: [avalanche] discourage ava messages if avalanche is disabled (authored by PiRK).
[avalanche] discourage ava messages if avalanche is disabled
Mar 15 2021, 07:09

Mar 11 2021

PiRK accepted D9318: build: set Unicode true for NSIS installer.
Mar 11 2021, 16:05
PiRK accepted D9317: doc: install qt5 when building on macOS.
Mar 11 2021, 16:02
PiRK accepted D9319: assumptions: Assume C++17.

In the summary, change PR21274 -> core#21274.

Mar 11 2021, 15:58
PiRK updated the diff for D9306: [avalanche] add an upper limit for the number of UTXOs in a proof.

rebase after landing D9290

Mar 11 2021, 15:55
PiRK closed D9290: [avalanche] implement getavalanchepeerinfo.
Mar 11 2021, 15:25
PiRK committed rABCe213a4b92326: [avalanche] implement getavalanchepeerinfo (authored by PiRK).
[avalanche] implement getavalanchepeerinfo
Mar 11 2021, 15:25
PiRK updated the summary of D9306: [avalanche] add an upper limit for the number of UTXOs in a proof.
Mar 11 2021, 15:19
PiRK updated the diff for D9306: [avalanche] add an upper limit for the number of UTXOs in a proof.

fix the discrepency for max number of stakes between the node and the test, increase the max number of stakes to 1000.

Mar 11 2021, 15:09
PiRK added a comment to D9306: [avalanche] add an upper limit for the number of UTXOs in a proof.

My quick calculation gives me 178 bytes per signed stake. We can ignore the rest of the proof, as it is does not change much depending on the number of stakes.
That is a huge number of stakes in 2 MB: 11781.

Mar 11 2021, 15:05
PiRK accepted D9316: Signal the avalanche service if avalanche is enabled.
Mar 11 2021, 14:07

Mar 10 2021

PiRK updated the diff for D9290: [avalanche] implement getavalanchepeerinfo.

reap the benefits of the simpler API, and remove uneccessary const

Mar 10 2021, 15:13
PiRK closed D9309: refactor: Replace RecursiveMutex with Mutex in netbase.cpp.
Mar 10 2021, 13:24
PiRK committed rABCfcdf7460ad40: refactor: Replace RecursiveMutex with Mutex in netbase.cpp (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).
refactor: Replace RecursiveMutex with Mutex in netbase.cpp
Mar 10 2021, 13:24
PiRK closed D9311: refactor: Replace RecursiveMutex with Mutex in warnings.cpp.
Mar 10 2021, 13:17
PiRK committed rABC8debe9e5317a: refactor: Replace RecursiveMutex with Mutex in warnings.cpp (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).
refactor: Replace RecursiveMutex with Mutex in warnings.cpp
Mar 10 2021, 13:17
PiRK closed D9310: refactor: Replace RecursiveMutex with Mutex in timedata.cpp.
Mar 10 2021, 13:17
PiRK committed rABCd57900986215: refactor: Replace RecursiveMutex with Mutex in timedata.cpp (authored by Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>).
refactor: Replace RecursiveMutex with Mutex in timedata.cpp
Mar 10 2021, 13:17
PiRK updated the diff for D9290: [avalanche] implement getavalanchepeerinfo.

address comments: add a QUORUM_NODE_COUNT=16 to test, return veector of peers instead of passing a reference

Mar 10 2021, 12:53

Mar 9 2021

teamcity awarded D9311: refactor: Replace RecursiveMutex with Mutex in warnings.cpp a Haypence token.
Mar 9 2021, 17:25
PiRK requested review of D9311: refactor: Replace RecursiveMutex with Mutex in warnings.cpp.
Mar 9 2021, 15:42
teamcity awarded D9310: refactor: Replace RecursiveMutex with Mutex in timedata.cpp a Haypence token.
Mar 9 2021, 14:20
PiRK added a comment to D9310: refactor: Replace RecursiveMutex with Mutex in timedata.cpp.

@bot build-tsan

Mar 9 2021, 14:20
PiRK requested review of D9310: refactor: Replace RecursiveMutex with Mutex in timedata.cpp.
Mar 9 2021, 14:17
PiRK updated the summary of D9309: refactor: Replace RecursiveMutex with Mutex in netbase.cpp.
Mar 9 2021, 14:04
PiRK requested review of D9309: refactor: Replace RecursiveMutex with Mutex in netbase.cpp.
Mar 9 2021, 14:02
PiRK updated the diff for D9304: [avalanche] discourage ava messages if avalanche is disabled.

specialize Misbehaving messages: unsolicited-avahello, unsolicited-avapoll and unsolicited-avaresponse

Mar 9 2021, 11:07
PiRK accepted D9307: [Cashtab] remove unused qr code border css.
Mar 9 2021, 09:09

Mar 8 2021

PiRK requested review of D9306: [avalanche] add an upper limit for the number of UTXOs in a proof.
Mar 8 2021, 17:04
PiRK accepted D9305: [BUILDBOT] Remove local python-phabricator dependency.
Mar 8 2021, 14:27
PiRK updated the diff for D9304: [avalanche] discourage ava messages if avalanche is disabled.

minor optimization: don't do and additional check for each message

Mar 8 2021, 08:03

Mar 7 2021

PiRK updated the summary of D9304: [avalanche] discourage ava messages if avalanche is disabled.
Mar 7 2021, 10:51
PiRK updated the summary of D9304: [avalanche] discourage ava messages if avalanche is disabled.
Mar 7 2021, 10:50
PiRK requested review of D9304: [avalanche] discourage ava messages if avalanche is disabled.
Mar 7 2021, 10:33

Mar 5 2021

PiRK accepted D9302: [LINTER] Add mypy to the CI dependencies and exclude the contrib dir.
Mar 5 2021, 10:31
PiRK updated the diff for D9290: [avalanche] implement getavalanchepeerinfo.

fix functional test by sorting the list of node ids before comparing with range(1, 17)

Mar 5 2021, 07:34
PiRK accepted D9299: [Cashtab] Remove legacy css.
Mar 5 2021, 07:24
PiRK accepted D9300: Fix typo in USE_LINKER error message.
Mar 5 2021, 07:24
PiRK abandoned D9297: add "unofficial" to the image link for the BCHA telegram group.
Mar 5 2021, 07:19

Mar 4 2021

PiRK updated the diff for D9297: add "unofficial" to the image link for the BCHA telegram group.

change icon to something a bit more readable

Mar 4 2021, 17:06
PiRK updated the summary of D9297: add "unofficial" to the image link for the BCHA telegram group.
Mar 4 2021, 16:36
PiRK planned changes to D9297: add "unofficial" to the image link for the BCHA telegram group.

It is not very readable. But I created the diff anyways to start discussing solutions. I know nothing about HTML.

Mar 4 2021, 16:35
PiRK requested review of D9297: add "unofficial" to the image link for the BCHA telegram group.
Mar 4 2021, 16:32
PiRK closed D9277: doc: noban precludes maxuploadtarget disconnects.
Mar 4 2021, 10:41
PiRK committed rABC0de52488c815: doc: noban precludes maxuploadtarget disconnects (authored by MarcoFalke <falke.marco@gmail.com>).
doc: noban precludes maxuploadtarget disconnects
Mar 4 2021, 10:41
PiRK updated the diff for D9290: [avalanche] implement getavalanchepeerinfo.

apparently the additional NodeSet index is not necessary. You can do a partial search on only the first key in a composite_key.

Mar 4 2021, 08:20

Mar 3 2021

PiRK updated the diff for D9290: [avalanche] implement getavalanchepeerinfo.

try not to loop over all nodes for each peer just to find its node.

Mar 3 2021, 17:34
PiRK updated the diff for D9290: [avalanche] implement getavalanchepeerinfo.

address review: fix typo in RPC command name in help message

Mar 3 2021, 13:18