Page MenuHomePhabricator
Feed All Stories

Apr 26 2021

bytesofman updated the diff for D9443: [Cashtab] load wallet from storage before calling API.

Handle case of cashtab user loading with unmigrated wallets, ensure that wallet object state is kept current

Apr 26 2021, 15:08
PiRK planned changes to D9425: [avalanche] add an OrphanProofPool class.
Apr 26 2021, 15:07
PiRK updated the diff for D9425: [avalanche] add an OrphanProofPool class.

Address most comments. Use using instead of typedef. Simplify proof insertion, don't use .get<by_sequence>() inderection before inserting a now proof. Take proof by value in addProof.
Remove assertion in constructor to allow for a pool size smaller than the largest possible proof, add a simple unit test for this case.

Apr 26 2021, 15:07
teamcity added a comment to D9441: [avalanche] improve stake generation in functional test.
Apr 26 2021, 12:22
PiRK updated the diff for D9441: [avalanche] improve stake generation in functional test.

Reduce the level of abstraction: let the caller generate the new blocks, and pass them to the function as a list of hashes.
This makes the function's signature more consistent with create_coinbase_stakes.

Apr 26 2021, 12:13
PiRK updated the diff for D9441: [avalanche] improve stake generation in functional test.

Rename functions get_ -> create_ to indicate that new UTXOs are generated.

Apr 26 2021, 11:03
Fabien requested review of D9445: [avalanche] Check the delegation generated at startup is valid.
Apr 26 2021, 10:14
Fabien updated the diff for D9365: [avalanche] Add an option to import a delegation.

Remove debug prints, only keep the new option part of the diff. The additional tests will be extracted in a follow up.

Apr 26 2021, 10:13
PiRK updated the summary of D9369: [avalanche] implement a proof relay struct.
Apr 26 2021, 09:40
PiRK updated the diff for D9369: [avalanche] implement a proof relay struct.

rebase.
Simplify initialization of struct: the plan is to relay proof inventories to everyone, so the struct can be initialized in the constructor, we don't need to wait for service flags.

Apr 26 2021, 09:30
jack1 added a comment to D9425: [avalanche] add an OrphanProofPool class.
Apr 26 2021, 07:00

Apr 25 2021

majcosta updated the summary of D9444: [refactor] extract function for past activation tests.
Apr 25 2021, 02:36
majcosta updated the summary of D9444: [refactor] extract function for past activation tests.
Apr 25 2021, 02:36

Apr 24 2021

majcosta requested review of D9444: [refactor] extract function for past activation tests.
Apr 24 2021, 11:19
majcosta retitled D9444: [refactor] extract function for past activation tests from [refactor] test past activations by height at the same place to [refactor] extract function for past activation tests.
Apr 24 2021, 11:18
nathanwilliam updated nathanwilliam.
Apr 24 2021, 06:55
nathanwilliam updated nathanwilliam.
Apr 24 2021, 06:54
deadalnix requested changes to D9444: [refactor] extract function for past activation tests.

Please edit the diff's title and description, right now they are not even proper sentences.

Apr 24 2021, 00:04
deadalnix requested changes to D9425: [avalanche] add an OrphanProofPool class.

You shouldn't put all the method in the header file. No need to recompile them in every module where they are included, unless they are trivial and you want the optimizer to see that.

Apr 24 2021, 00:01

Apr 23 2021

majcosta requested review of D9444: [refactor] extract function for past activation tests.
Apr 23 2021, 16:42
deadalnix requested changes to D9365: [avalanche] Add an option to import a delegation.
Apr 23 2021, 16:07
bytesofman updated the diff for D9443: [Cashtab] load wallet from storage before calling API.

Removing obsolete dev comment

Apr 23 2021, 15:36
bytesofman updated the diff for D9443: [Cashtab] load wallet from storage before calling API.

Removing comments used in development, marking mock as generated

Apr 23 2021, 15:33
deadalnix requested changes to D9441: [avalanche] improve stake generation in functional test.

I have nothing against generating proofs this way, but the abstraction provided is clearly not good.

Apr 23 2021, 15:31
bytesofman requested review of D9443: [Cashtab] load wallet from storage before calling API.
Apr 23 2021, 15:29
majcosta closed D9442: remove BCHN from download page.
Apr 23 2021, 15:20
majcosta committed rABCWEB79833d4e4374: remove BCHN from download page (authored by majcosta).
remove BCHN from download page
Apr 23 2021, 15:19
deadalnix accepted D9442: remove BCHN from download page.
Apr 23 2021, 15:16
majcosta requested review of D9442: remove BCHN from download page.
Apr 23 2021, 15:02
majcosta planned changes to D9442: remove BCHN from download page.
Apr 23 2021, 15:01
majcosta requested review of D9442: remove BCHN from download page.
Apr 23 2021, 14:58
teamcity triaged T1600: Build Bitcoin-ABC / Master / Cross Builds / Cross Build Windows 64-bit is broken. as Unbreak Now! priority.
Apr 23 2021, 10:21
majcosta accepted D9345: [avalanche] set a minimum amount for a proof.
Apr 23 2021, 10:17
PiRK updated the diff for D9345: [avalanche] set a minimum amount for a proof.

rebase again after fixing the wallet dependency introduced in D9441

Apr 23 2021, 09:48
PiRK updated the test plan for D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 09:16
PiRK updated the diff for D9441: [avalanche] improve stake generation in functional test.

This new way of generating stakes requires the wallet to be compiled. Fix the test to run only when possible, update the test plan.
Use a different bad proof for the delegateavalancheproof test, so that it does not depend on the wallet.

Apr 23 2021, 09:14
PiRK closed D9430: [backport#19178] Make mininode_lock non-reentrant.
Apr 23 2021, 08:53
PiRK committed rABCe7039654cdb3: [backport#19178] Make mininode_lock non-reentrant (authored by John Newbery <john@johnnewbery.com>).
[backport#19178] Make mininode_lock non-reentrant
Apr 23 2021, 08:53
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 23 2021, 08:06
teamcity added a comment to D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 08:02
PiRK updated the diff for D9345: [avalanche] set a minimum amount for a proof.

Rebase after updating dependency D9441

Apr 23 2021, 07:58
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 23 2021, 07:56
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 23 2021, 07:54
PiRK updated the test plan for D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 07:53
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 23 2021, 07:51
PiRK updated the diff for D9441: [avalanche] improve stake generation in functional test.

Fix another functional test that was affected by renaming get_stakes
Update the test plan to include the entire functional test suite.

Apr 23 2021, 07:50
teamcity added a comment to D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 07:49
teamcity added a comment to D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 07:43
teamcity added a comment to D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 07:41
PiRK updated the summary of D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 07:37
PiRK updated the summary of D9345: [avalanche] set a minimum amount for a proof.
Apr 23 2021, 07:37
PiRK updated the diff for D9345: [avalanche] set a minimum amount for a proof.

Fix test failure by rebasing onto D9441

Apr 23 2021, 07:36
PiRK requested review of D9441: [avalanche] improve stake generation in functional test.
Apr 23 2021, 07:35

Apr 22 2021

Fabien updated the diff for D9365: [avalanche] Add an option to import a delegation.

Fix missed session key vs master key confusion, reorder the checks to make sure no wrong delegation can be generated

Apr 22 2021, 19:42
deadalnix accepted D9430: [backport#19178] Make mininode_lock non-reentrant.
Apr 22 2021, 17:38
PiRK added a comment to D9345: [avalanche] set a minimum amount for a proof.

TIL that the halvings are different on regtest than on mainnet. I need to work on a fix for the functional test that uses coinbase UTXOs to build a very large proof, because the coinbase amounts are lower than the dust threshold before I can reach 1000 stakes.
The problem did not appear earlier because this revision had not been rebased for a while, and the problematic test did not exist a couple of weeks ago.

Apr 22 2021, 13:57
Fabien abandoned D9421: [avalanche] Move the initial proof verification to PeerData constructor.
Apr 22 2021, 12:47
Fabien abandoned D9420: [avalanche] Initialize PeerData from ArgsManager.
Apr 22 2021, 12:47
Fabien abandoned D9419: [avalanche] Move the session key to the PeerData structure.
Apr 22 2021, 12:47
Fabien abandoned D9418: [avalanche] Make the peer data proof and delegation optional.
Apr 22 2021, 12:47
Fabien closed D9422: [avalanche] Don't turn on service bit if we don't have a proof.
Apr 22 2021, 12:02
Fabien committed rABC2335099e03a5: [avalanche] Don't turn on service bit if we don't have a proof (authored by Fabien).
[avalanche] Don't turn on service bit if we don't have a proof
Apr 22 2021, 12:02
Fabien closed D9440: [avalanche] Move proof verification to processor.
Apr 22 2021, 12:01
Fabien committed rABC35e52efad474: [avalanche] Move proof verification to processor (authored by Fabien).
[avalanche] Move proof verification to processor
Apr 22 2021, 12:01
deadalnix accepted D9422: [avalanche] Don't turn on service bit if we don't have a proof.
Apr 22 2021, 11:19
deadalnix accepted D9440: [avalanche] Move proof verification to processor.
Apr 22 2021, 11:16
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 22 2021, 10:26
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 22 2021, 10:20
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 22 2021, 10:18
PiRK updated the diff for D9345: [avalanche] set a minimum amount for a proof.

Rebase. The test failures seem unrelated to the revision, and are definitely unrelated to my last amend.

Apr 22 2021, 10:10
PiRK requested review of D9430: [backport#19178] Make mininode_lock non-reentrant.
Apr 22 2021, 08:42
PiRK updated the summary of D9430: [backport#19178] Make mininode_lock non-reentrant.
Apr 22 2021, 08:41
PiRK added a comment to D9430: [backport#19178] Make mininode_lock non-reentrant.

When I backported core#18807, I did not pick the commit introducing this mistake (https://github.com/bitcoin/bitcoin/pull/18807/commits/00d44a534b4e5ae249b8011360c6b0f7dc731581), so the change to P2PTxInvStore is not relevant to our codebase.

Apr 22 2021, 08:37
PiRK updated the diff for D9425: [avalanche] add an OrphanProofPool class.

refactor the unit test so that any proof size can be tested, increase the number of tested proof sizes

Apr 22 2021, 08:18
Fabien updated the diff for D9422: [avalanche] Don't turn on service bit if we don't have a proof.

Add a method in the Processor to return if the flag should be set.
Rebase on top of D9440.

Apr 22 2021, 06:40
Fabien updated the summary of D9422: [avalanche] Don't turn on service bit if we don't have a proof.
Apr 22 2021, 06:38
abc-bot committed rABCb4f28e9cd544: [Automated] Update timing.json (authored by abc-bot).
[Automated] Update timing.json
Apr 22 2021, 03:20
abc-bot committed rABC4e517ec9753a: [Automated] Update chainparams (authored by abc-bot).
[Automated] Update chainparams
Apr 22 2021, 02:16
abc-bot committed rABC314a86a4ef26: [Automated] Update seeds (authored by abc-bot).
[Automated] Update seeds
Apr 22 2021, 02:10

Apr 21 2021

deadalnix accepted D9345: [avalanche] set a minimum amount for a proof.
Apr 21 2021, 21:08
deadalnix added a comment to D9345: [avalanche] set a minimum amount for a proof.
In D9345#214194, @PiRK wrote:

What about bool hasDustStake(Proof p);?

Apr 21 2021, 21:07
Fabien added a comment to D9440: [avalanche] Move proof verification to processor.

The build failure is an unrelated leveldb spurious failure

Apr 21 2021, 20:47
teamcity added a comment to D9440: [avalanche] Move proof verification to processor.
Apr 21 2021, 20:18
Fabien updated the diff for D9440: [avalanche] Move proof verification to processor.

Pass the session key by value and move it

Apr 21 2021, 20:08
deadalnix requested changes to D9430: [backport#19178] Make mininode_lock non-reentrant.
Apr 21 2021, 18:51
deadalnix added a comment to D9430: [backport#19178] Make mininode_lock non-reentrant.

Why are the changes to P2PTxInvStore ignored?

Apr 21 2021, 18:51
deadalnix requested changes to D9440: [avalanche] Move proof verification to processor.
Apr 21 2021, 18:26
jasonbcox requested review of D9414: Fix minerfund in GBT when cashaddr is disabled.
Apr 21 2021, 18:06
jasonbcox updated the summary of D9414: Fix minerfund in GBT when cashaddr is disabled.
Apr 21 2021, 18:05
jasonbcox reclaimed D9414: Fix minerfund in GBT when cashaddr is disabled.

Reopening this diff. See improved rationale in the summary.

Apr 21 2021, 18:00
jasonbcox updated the summary of D9414: Fix minerfund in GBT when cashaddr is disabled.
Apr 21 2021, 18:00
PiRK planned changes to D9425: [avalanche] add an OrphanProofPool class.
Apr 21 2021, 15:11
PiRK updated the diff for D9425: [avalanche] add an OrphanProofPool class.

Append new proof to the end of the container, use a forward iterator for trimming from the front, use the fact that erase already returns an iterator to the next element (no need to increment the iterator again).

Apr 21 2021, 15:11
PiRK added inline comments to D9425: [avalanche] add an OrphanProofPool class.
Apr 21 2021, 14:23
Fabien updated the diff for D9440: [avalanche] Move proof verification to processor.

Don't encode/decode the session key

Apr 21 2021, 12:46
deadalnix requested changes to D9425: [avalanche] add an OrphanProofPool class.
Apr 21 2021, 12:22
deadalnix requested changes to D9440: [avalanche] Move proof verification to processor.

Ok, now this is looking more like something that make sense. There is this encoding/decoding of the session key that needs to be addressed, but beside that, it's all good.

Apr 21 2021, 12:08
PiRK updated the diff for D9425: [avalanche] add an OrphanProofPool class.

Move SaltedProofIdHasher to proofid.h to make it available to both orphanproofpool and peermanager without additional includes.

Apr 21 2021, 10:03
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 21 2021, 09:27
teamcity added a comment to D9345: [avalanche] set a minimum amount for a proof.
Apr 21 2021, 09:24