Page MenuHomePhabricator
Feed Advanced Search

Jun 4 2021

deadalnix committed rABCc565a795866a: [avalanche] use the OrphanProofPool (authored by PiRK).
[avalanche] use the OrphanProofPool
Jun 4 2021, 15:07
deadalnix closed D9629: Use smart pointer in the orphan proof pool.
Jun 4 2021, 14:53
deadalnix committed rABCa53677be459f: Use smart pointer in the orphan proof pool (authored by deadalnix).
Use smart pointer in the orphan proof pool
Jun 4 2021, 14:53
deadalnix updated the diff for D9476: [avalanche] use the OrphanProofPool.

Rebase on top of D9629

Jun 4 2021, 14:50
deadalnix requested review of D9629: Use smart pointer in the orphan proof pool.
Jun 4 2021, 14:39
deadalnix accepted D9613: [avalanche] make delegateavalancheproof take a limited id rather than a whole proof.
Jun 4 2021, 14:29
deadalnix requested changes to D9613: [avalanche] make delegateavalancheproof take a limited id rather than a whole proof.
Jun 4 2021, 10:12
deadalnix accepted D9608: [avalanche] Add an avaproof network permission for bypassing the inv tracking limit.
Jun 4 2021, 10:02
deadalnix requested changes to D9582: [avalanche] Answer proof invs with getdata proof requests.
Jun 4 2021, 10:01
deadalnix requested changes to D9628: Add -uaclientname and -uaclientversion config options to set the client name and version of the user agent in the version message..

This breaks the -uacomment flag.

Jun 4 2021, 09:59
deadalnix added inline comments to D9476: [avalanche] use the OrphanProofPool.
Jun 4 2021, 09:57

Jun 3 2021

deadalnix requested changes to D9582: [avalanche] Answer proof invs with getdata proof requests.
Jun 3 2021, 15:42
deadalnix accepted D9598: Extract inv saturation check and data request time computation.
Jun 3 2021, 13:51
deadalnix requested review of D9476: [avalanche] use the OrphanProofPool.
Jun 3 2021, 13:46

Jun 2 2021

deadalnix accepted D9617: [avalanche] Make the processor methods use a shared pointer to proof.
Jun 2 2021, 14:18
deadalnix updated the diff for D9476: [avalanche] use the OrphanProofPool.

clear the container explicitely

Jun 2 2021, 13:17
deadalnix accepted D9599: [avalanche] Manage the notfound messages from a proof request.
Jun 2 2021, 12:53
deadalnix accepted D9595: [avalanche] Add an API to store and retrieve a proof.
Jun 2 2021, 12:08
deadalnix requested changes to D9617: [avalanche] Make the processor methods use a shared pointer to proof.
Jun 2 2021, 12:05
deadalnix accepted D9616: [avalanche] Make the peermanager methods use a shared pointer to proof.
Jun 2 2021, 12:03

Jun 1 2021

deadalnix requested changes to D9614: [avalanche] make the delegateavalancheproof RPC take a limited ID.
Jun 1 2021, 20:15
deadalnix accepted D9620: scripted-diff: Replace WalletDatabase::Create* with CreateWalletDatabase.
Jun 1 2021, 20:13
deadalnix accepted D9619: Add Create*WalletDatabase functions.
Jun 1 2021, 20:12
deadalnix accepted D9621: Remove WalletDatabase::Create, CreateMock, and CreateDummy.
Jun 1 2021, 20:11
deadalnix accepted D9615: RPC: Rephrase generatetoaddress help, and use PACKAGE_NAME.
Jun 1 2021, 20:11
deadalnix requested changes to D9613: [avalanche] make delegateavalancheproof take a limited id rather than a whole proof.
Jun 1 2021, 17:52
deadalnix updated the diff for D9476: [avalanche] use the OrphanProofPool.

Fix linter issue

Jun 1 2021, 17:49
deadalnix requested changes to D9595: [avalanche] Add an API to store and retrieve a proof.
Jun 1 2021, 15:40
deadalnix requested changes to D9614: [avalanche] make the delegateavalancheproof RPC take a limited ID.

Back on your queue, CI is broken.

Jun 1 2021, 15:37
deadalnix requested changes to D9613: [avalanche] make delegateavalancheproof take a limited id rather than a whole proof.
Jun 1 2021, 15:37
deadalnix accepted D9618: walletdb: refactor Read, Write, Erase, and Exists into non-template func.
Jun 1 2021, 15:31
deadalnix requested changes to D9617: [avalanche] Make the processor methods use a shared pointer to proof.
Jun 1 2021, 15:30
deadalnix requested changes to D9616: [avalanche] Make the peermanager methods use a shared pointer to proof.

Your strategy seems scary. How are you going to track down all the calls to make_shared<Proof> ?

Jun 1 2021, 15:24
deadalnix updated the diff for D9476: [avalanche] use the OrphanProofPool.
  • Reduce lock scope
  • Avoid unecessary copies of datastructures
  • Various simplifications
Jun 1 2021, 15:11
deadalnix commandeered D9476: [avalanche] use the OrphanProofPool.
Jun 1 2021, 15:10

May 31 2021

deadalnix accepted D9564: [avalanche] include proof master and limited proofid in the delegation.
May 31 2021, 16:07
deadalnix requested changes to D9608: [avalanche] Add an avaproof network permission for bypassing the inv tracking limit.

I don't get what is the intended behavior here. avaproof doesn't seems to be a permission that make sense.

May 31 2021, 15:23
deadalnix accepted D9596: [avalanche] Add a LimitedProofId::computeProofId method.
May 31 2021, 15:16
deadalnix requested changes to D9595: [avalanche] Add an API to store and retrieve a proof.
May 31 2021, 15:16
deadalnix accepted D9602: refactor: Remove unused BlockAssembler::pblock member var.
May 31 2021, 15:14
deadalnix accepted D9600: [avalanche] Reset the proof tracking state on peer disconnection.
May 31 2021, 14:46
deadalnix added a comment to D9607: [avalanche] Make the peer hold a shared pointer to the proof.

Please go on with this.

May 31 2021, 14:45
deadalnix accepted D9607: [avalanche] Make the peer hold a shared pointer to the proof.
May 31 2021, 14:45

May 28 2021

deadalnix accepted D9601: Change format of log2_work for uniform output (zero-padded).
May 28 2021, 15:11
deadalnix requested changes to D9602: refactor: Remove unused BlockAssembler::pblock member var.
May 28 2021, 15:10
deadalnix requested changes to D9598: Extract inv saturation check and data request time computation.

Reviewing patches based on top of this, it is abundantly clear that that hasn't been thought through at all.

May 28 2021, 13:16
deadalnix requested changes to D9599: [avalanche] Manage the notfound messages from a proof request.
May 28 2021, 13:15
deadalnix requested changes to D9582: [avalanche] Answer proof invs with getdata proof requests.
May 28 2021, 13:12
deadalnix requested changes to D9564: [avalanche] include proof master and limited proofid in the delegation.
May 28 2021, 13:09
deadalnix requested changes to D9595: [avalanche] Add an API to store and retrieve a proof.

I think it's time to start using smart pointers instead of chasing proof copies all around.

May 28 2021, 13:07
deadalnix requested changes to D9596: [avalanche] Add a LimitedProofId::computeProofId method.
May 28 2021, 13:05
deadalnix accepted D9598: Extract inv saturation check and data request time computation.
May 28 2021, 13:05

May 27 2021

deadalnix added inline comments to D9564: [avalanche] include proof master and limited proofid in the delegation.
May 27 2021, 20:16
deadalnix requested changes to D9598: Extract inv saturation check and data request time computation.

Looks good overall.

May 27 2021, 20:15
deadalnix accepted D9567: Abstract out the TxRequestTracker public interface.
May 27 2021, 17:07
deadalnix added inline comments to D9596: [avalanche] Add a LimitedProofId::computeProofId method.
May 27 2021, 16:44
deadalnix accepted D9597: [avalanche] rename parameters in DelegationBuilder::addLevel.
May 27 2021, 14:05
deadalnix requested changes to D9595: [avalanche] Add an API to store and retrieve a proof.
May 27 2021, 14:05
deadalnix added inline comments to D9565: [avalanche] verify signature on avahello reception.
May 27 2021, 14:01
deadalnix accepted D9594: [LINTER] Add an exception for a cppcheck false positive.
May 27 2021, 14:00
deadalnix requested changes to D9596: [avalanche] Add a LimitedProofId::computeProofId method.
May 27 2021, 13:59
deadalnix requested changes to D9476: [avalanche] use the OrphanProofPool.
May 27 2021, 13:54
deadalnix requested changes to D9567: Abstract out the TxRequestTracker public interface.
May 27 2021, 13:38
deadalnix added inline comments to D9595: [avalanche] Add an API to store and retrieve a proof.
May 27 2021, 13:35

May 26 2021

deadalnix accepted D9591: Split the inv message reception processing in logical blocks by inv type.
May 26 2021, 21:38
deadalnix accepted D9593: Split cs_main lock when sending getdata between inv types.
May 26 2021, 21:37
deadalnix accepted D9563: Turn InvRequestTracker into a template class.
May 26 2021, 21:35
deadalnix accepted D9588: Update comment on TxRequestTracker in net_processing.h.

Why isn't it part of D9562 ?

May 26 2021, 21:05
deadalnix accepted D9589: [avalanche] Remove unused getProof() method in the avalanche processor.
May 26 2021, 21:04
deadalnix accepted D9590: Extract out the inventory logging to a lambda.

I'm not super convinced this is really a plus, as it adds an indirection to something that just does one thing.

May 26 2021, 21:04
deadalnix accepted D9592: Move the getdata content flush and logging to a lambda.
May 26 2021, 21:02
deadalnix updated the summary of D9592: Move the getdata content flush and logging to a lambda.
May 26 2021, 21:01
deadalnix requested changes to D9567: Abstract out the TxRequestTracker public interface.
May 26 2021, 21:01
deadalnix requested changes to D9476: [avalanche] use the OrphanProofPool.
May 26 2021, 16:30
deadalnix requested changes to D9571: Don't penalize peers for unsollicited avalanche messages, just ignore them.

We probably shouldn't ignore unsolicited messages en general.

May 26 2021, 15:57
deadalnix requested changes to D9564: [avalanche] include proof master and limited proofid in the delegation.
May 26 2021, 15:48
deadalnix added a comment to D9564: [avalanche] include proof master and limited proofid in the delegation.

This is doing a number of refactoring in addition to what it is actually doing. You need to split this up.

May 26 2021, 15:47
deadalnix accepted D9560: Rename `tx` to `inv` in the TxRequestTracker.
May 26 2021, 15:42
deadalnix requested changes to D9563: Turn InvRequestTracker into a template class.
May 26 2021, 15:39
deadalnix requested changes to D9582: [avalanche] Answer proof invs with getdata proof requests.

This is too big. You are touching a ton of thing everywhere here. I'm sure you can extract many refactoring from there. It doesn't matter if they are trivial, in fact that's the point, they can be landed right away and non trivial things aren't drowned into noise.

May 26 2021, 15:37
deadalnix requested changes to D9567: Abstract out the TxRequestTracker public interface.
May 26 2021, 15:30
deadalnix created Image Macro "implconcrete".
May 26 2021, 15:16

May 20 2021

deadalnix requested changes to D9560: Rename `tx` to `inv` in the TxRequestTracker.

I think you'll find this doesn't working once you keep the private implementation - which you should.

May 20 2021, 22:43
deadalnix requested changes to D9559: Move all implementation details from the TxRequestTracker to the header.

So, actually, I think this is wrong.

May 20 2021, 22:42
deadalnix accepted D9561: Rename txrequest.h/cpp to invrequest.h/cpp.
May 20 2021, 22:36
deadalnix requested changes to D9563: Turn InvRequestTracker into a template class.

Not really requesting changes, but back on your queue.

May 20 2021, 22:36
deadalnix accepted D9562: Rename public interfaces from Tx to Inv in InvRequestTracker.
May 20 2021, 22:32
deadalnix accepted D9543: [avalanche] change how the proof id is computed.
May 20 2021, 16:26
deadalnix accepted D9558: Split the cs_main lock in SendMessages.
May 20 2021, 16:26
deadalnix requested changes to D9557: Make the TxRequestTracker a templated InvRequestTracker.
May 20 2021, 10:19

May 19 2021

deadalnix requested changes to D9509: [avalanche] Send the proof master pubkey with AVAHELLO.
May 19 2021, 23:17

May 18 2021

deadalnix requested changes to D9509: [avalanche] Send the proof master pubkey with AVAHELLO.
May 18 2021, 20:46
deadalnix accepted D9544: [avalanche] introduce LimitedProofId.
May 18 2021, 20:44
deadalnix accepted D9542: Use mockable time everywhere in net_processing.
May 18 2021, 13:22
deadalnix requested changes to D9543: [avalanche] change how the proof id is computed.

Can you explain why so many things need to be fully recomputed?

May 18 2021, 13:21
deadalnix requested changes to D9544: [avalanche] introduce LimitedProofId.
May 18 2021, 13:14
deadalnix accepted D9545: Bump version to 0.23.5.
May 18 2021, 13:12

May 17 2021

deadalnix accepted D9541: Fix a race in abc_mining_basic.
May 17 2021, 22:29

May 13 2021

deadalnix accepted D9522: Remove unused boost/thread.
May 13 2021, 17:36
deadalnix accepted D9524: util: Don't reference errno when pthread fails..
May 13 2021, 16:07