Page MenuHomePhabricator
Feed Advanced Search

Jan 14 2020

fpelliccioni updated the diff for D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.

rebase from master

Jan 14 2020, 21:21
fpelliccioni committed rABCbaef60890b54: Call FinalizeBlockAndInvalidate without cs_main held (authored by fpelliccioni).
Call FinalizeBlockAndInvalidate without cs_main held
Jan 14 2020, 21:13
fpelliccioni closed D4942: Call FinalizeBlockAndInvalidate without cs_main held.
Jan 14 2020, 21:13
fpelliccioni updated the diff for D4942: Call FinalizeBlockAndInvalidate without cs_main held.

linting

Jan 14 2020, 20:03
fpelliccioni updated the diff for D4942: Call FinalizeBlockAndInvalidate without cs_main held.

lock frame reduced

Jan 14 2020, 20:02
fpelliccioni added inline comments to D4942: Call FinalizeBlockAndInvalidate without cs_main held.
Jan 14 2020, 19:49
fpelliccioni updated the diff for D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.

rebased

Jan 14 2020, 17:22
fpelliccioni updated the diff for D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.

add whitespace

Jan 14 2020, 17:19
fpelliccioni updated the diff for D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.

revert not related with PR code

Jan 14 2020, 17:17
fpelliccioni updated the summary of D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.
Jan 14 2020, 17:12
fpelliccioni planned changes to D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.
Jan 14 2020, 16:11
fpelliccioni added a reviewer for D4942: Call FinalizeBlockAndInvalidate without cs_main held: markblundeberg.
Jan 14 2020, 16:10
fpelliccioni updated the diff for D4942: Call FinalizeBlockAndInvalidate without cs_main held.

rebased from master

Jan 14 2020, 16:09
fpelliccioni committed rABC3fb45c049a4c: Release cs_main during InvalidateBlock iterations (authored by Pieter Wuille <pieter.wuille@gmail.com>).
Release cs_main during InvalidateBlock iterations
Jan 14 2020, 16:05
fpelliccioni closed D4802: Release cs_main during InvalidateBlock iterations.
Jan 14 2020, 16:05
fpelliccioni updated the diff for D4802: Release cs_main during InvalidateBlock iterations.

rebased from master

Jan 14 2020, 15:56
fpelliccioni planned changes to D4942: Call FinalizeBlockAndInvalidate without cs_main held.
Jan 14 2020, 15:53
fpelliccioni created D4942: Call FinalizeBlockAndInvalidate without cs_main held.
Jan 14 2020, 15:52
fpelliccioni committed rABC9096e76f01e5: Call InvalidateBlock without cs_main held (authored by Pieter Wuille <pieter.wuille@gmail.com>).
Call InvalidateBlock without cs_main held
Jan 14 2020, 15:28
fpelliccioni closed D4758: Call InvalidateBlock without cs_main held.
Jan 14 2020, 15:28
fpelliccioni updated the diff for D4758: Call InvalidateBlock without cs_main held.

rebase from master

Jan 14 2020, 15:20
fpelliccioni committed rABC7504e09fda75: Call RewindBlockIndex without cs_main held (authored by Mark Lundeberg <markblundeberg@users.noreply.github.com>).
Call RewindBlockIndex without cs_main held
Jan 14 2020, 15:19
fpelliccioni closed D4757: Call RewindBlockIndex without cs_main held.
Jan 14 2020, 15:19
fpelliccioni updated the diff for D4757: Call RewindBlockIndex without cs_main held.

rebase from master

Jan 14 2020, 15:12

Jan 13 2020

fpelliccioni updated the diff for D4804: Optimization: don't add txn back to mempool after 10 invalidates.

braces

Jan 13 2020, 18:16
fpelliccioni requested review of D4929: Make last disconnected block BLOCK_FAILED_VALID, even when aborted.
Jan 13 2020, 18:15
fpelliccioni added a comment to D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.

This clearly includes a lot of code that isn't in the original PR. Where does the clocking mechanism changes come from?

Jan 13 2020, 18:13
fpelliccioni retitled D4929: Make last disconnected block BLOCK_FAILED_VALID, even when aborted from Granular invalidateblock and RewindBlockIndex to Make last disconnected block BLOCK_FAILED_VALID, even when aborted.
Jan 13 2020, 18:04
fpelliccioni planned changes to D4929: Make last disconnected block BLOCK_FAILED_VALID, even when aborted.
Jan 13 2020, 18:02
fpelliccioni created D4929: Make last disconnected block BLOCK_FAILED_VALID, even when aborted.
Jan 13 2020, 18:01

Jan 10 2020

fpelliccioni updated the test plan for D4804: Optimization: don't add txn back to mempool after 10 invalidates.
Jan 10 2020, 18:59
fpelliccioni updated the diff for D4804: Optimization: don't add txn back to mempool after 10 invalidates.

rebase

Jan 10 2020, 18:57
fpelliccioni updated the test plan for D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.
Jan 10 2020, 18:35
fpelliccioni added inline comments to D4758: Call InvalidateBlock without cs_main held.
Jan 10 2020, 18:34
fpelliccioni updated the diff for D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.

Call FinalizeBlockAndInvalidate without cs_main held

Jan 10 2020, 18:32
fpelliccioni updated the test plan for D4802: Release cs_main during InvalidateBlock iterations.
Jan 10 2020, 13:47

Jan 8 2020

fpelliccioni updated the diff for D4802: Release cs_main during InvalidateBlock iterations.

Remove code that removes from setBlockIndexCandidates as FindMostWorkChain() is in charge of it.

Jan 8 2020, 18:46

Jan 7 2020

fpelliccioni added inline comments to D4802: Release cs_main during InvalidateBlock iterations.
Jan 7 2020, 16:01
fpelliccioni updated the diff for D4802: Release cs_main during InvalidateBlock iterations.

fixes suggested

Jan 7 2020, 15:32

Jan 3 2020

fpelliccioni updated the diff for D4802: Release cs_main during InvalidateBlock iterations.

fixes tests

Jan 3 2020, 16:21
fpelliccioni updated the summary of D4758: Call InvalidateBlock without cs_main held.
Jan 3 2020, 16:12
fpelliccioni updated the test plan for D4758: Call InvalidateBlock without cs_main held.
Jan 3 2020, 16:11
fpelliccioni updated the diff for D4758: Call InvalidateBlock without cs_main held.

applying changes to UnwindBlock

Jan 3 2020, 16:10
fpelliccioni planned changes to D4804: Optimization: don't add txn back to mempool after 10 invalidates.
Jan 3 2020, 12:55
fpelliccioni planned changes to D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.
Jan 3 2020, 12:54
fpelliccioni planned changes to D4802: Release cs_main during InvalidateBlock iterations.
Jan 3 2020, 12:54

Jan 2 2020

fpelliccioni updated the summary of D4757: Call RewindBlockIndex without cs_main held.
Jan 2 2020, 20:49
fpelliccioni updated the diff for D4802: Release cs_main during InvalidateBlock iterations.

rebasing

Jan 2 2020, 20:41
fpelliccioni updated the diff for D4758: Call InvalidateBlock without cs_main held.

rebasing

Jan 2 2020, 20:33
fpelliccioni updated the diff for D4757: Call RewindBlockIndex without cs_main held.

rebased

Jan 2 2020, 20:22

Dec 26 2019

fpelliccioni retitled D4804: Optimization: don't add txn back to mempool after 10 invalidates from Granular invalidateblock and RewindBlockIndex to Optimization: don't add txn back to mempool after 10 invalidates.
Dec 26 2019, 19:30
fpelliccioni created D4804: Optimization: don't add txn back to mempool after 10 invalidates.
Dec 26 2019, 19:29
fpelliccioni retitled D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex from Granular invalidateblock and RewindBlockIndex to Prevent callback overruns in InvalidateBlock and RewindBlockIndex.
Dec 26 2019, 19:18
fpelliccioni created D4803: Prevent callback overruns in InvalidateBlock and RewindBlockIndex.
Dec 26 2019, 19:16
fpelliccioni updated the summary of D4802: Release cs_main during InvalidateBlock iterations.
Dec 26 2019, 18:56
fpelliccioni edited reviewers for D4802: Release cs_main during InvalidateBlock iterations, added: markblundeberg; removed: Fabien.
Dec 26 2019, 18:55
fpelliccioni updated the summary of D4802: Release cs_main during InvalidateBlock iterations.
Dec 26 2019, 18:55
fpelliccioni retitled D4802: Release cs_main during InvalidateBlock iterations from Granular invalidateblock and RewindBlockIndex to Release cs_main during InvalidateBlock iterations.
Dec 26 2019, 18:54
fpelliccioni created D4802: Release cs_main during InvalidateBlock iterations.
Dec 26 2019, 18:52

Dec 24 2019

fpelliccioni added a comment to D4758: Call InvalidateBlock without cs_main held.

Something seems a bit off here -- note that ABC has renamed the 'inner' InvalidateBlock to UnwindBlock in D1952 (not sure why). I think you might be putting the lock in the wrong place, and it should rather go on UnwindBlock.

I didn't want to change the semantics of UnwindBlock because this function is used by ParkBlock.
In any case, I will create another Diff to change ParkBlock.

Hmm, however, in the original PR there will get many many more changes made to UnwindBlock (called InvalidateBlock in Core) -- https://github.com/bitcoin/bitcoin/pull/15402/files#diff-24efdb00bfbe56b140fb006b562cc70bL2787 . The essence of the PR is that UnwindBlock will only take short-term locks during its execution. If we start off like this then it seems none of the following commits will make sense.

Dec 24 2019, 12:53
fpelliccioni updated the summary of D4757: Call RewindBlockIndex without cs_main held.
Dec 24 2019, 12:36

Dec 19 2019

fpelliccioni added a comment to D4758: Call InvalidateBlock without cs_main held.

Something seems a bit off here -- note that ABC has renamed the 'inner' InvalidateBlock to UnwindBlock in D1952 (not sure why). I think you might be putting the lock in the wrong place, and it should rather go on UnwindBlock.

Dec 19 2019, 18:04
fpelliccioni added a comment to D4757: Call RewindBlockIndex without cs_main held.

Heh, unfortunate title for this diff now that RewindBlockIndex is gone :-D

Dec 19 2019, 18:02
fpelliccioni accepted D4768: [CMAKE] Add a status message to inform the user that ccache is used.
Dec 19 2019, 15:59
fpelliccioni accepted D4768: [CMAKE] Add a status message to inform the user that ccache is used.
Dec 19 2019, 14:23

Dec 18 2019

fpelliccioni accepted D4728: stop rewinding post-segwit blocks on startup.
Dec 18 2019, 22:10
fpelliccioni requested review of D4758: Call InvalidateBlock without cs_main held.
Dec 18 2019, 18:49
fpelliccioni edited reviewers for D4758: Call InvalidateBlock without cs_main held, added: markblundeberg; removed: Fabien.
Dec 18 2019, 18:48
fpelliccioni retitled D4758: Call InvalidateBlock without cs_main held from Granular invalidateblock and RewindBlockIndex to Call InvalidateBlock without cs_main held.
Dec 18 2019, 18:47
fpelliccioni planned changes to D4758: Call InvalidateBlock without cs_main held.
Dec 18 2019, 18:45
fpelliccioni created D4758: Call InvalidateBlock without cs_main held.
Dec 18 2019, 18:44
fpelliccioni accepted D4728: stop rewinding post-segwit blocks on startup.
Dec 18 2019, 17:48
fpelliccioni updated the diff for D4757: Call RewindBlockIndex without cs_main held.

remove empty line

Dec 18 2019, 17:37
fpelliccioni retitled D4757: Call RewindBlockIndex without cs_main held from Granular invalidateblock and RewindBlockIndex to Call RewindBlockIndex without cs_main held.
Dec 18 2019, 17:35
fpelliccioni planned changes to D4757: Call RewindBlockIndex without cs_main held.
Dec 18 2019, 17:29
fpelliccioni created D4757: Call RewindBlockIndex without cs_main held.
Dec 18 2019, 17:28
fpelliccioni requested changes to D4728: stop rewinding post-segwit blocks on startup.

It seems that removal of the RewindBlockIndex declaration is missing (src/validation.h).

Dec 18 2019, 14:41
fpelliccioni abandoned D4684: Release cs_main during RewindBlockIndex operation.

Due to D4728

Dec 18 2019, 14:09
fpelliccioni abandoned D4683: Merge the disconnection and erasing loops in RewindBlockIndex.

Due to D4728

Dec 18 2019, 14:09
fpelliccioni abandoned D4669: Move erasure of non-active blocks to a separate loop in RewindBlockIndex.

Due to D4728

Dec 18 2019, 14:08
fpelliccioni accepted D4728: stop rewinding post-segwit blocks on startup.
Dec 18 2019, 13:57
fpelliccioni added a comment to D4669: Move erasure of non-active blocks to a separate loop in RewindBlockIndex.

As @markblundeberg pointed, this looks like a bunch of dead code. Can you look at D4728 and see what that means for this backport?

Not really requesting changes, requesting change to get this back on your queue.

Dec 18 2019, 13:50

Dec 17 2019

fpelliccioni committed rABC197e349654be: We assume uint8_t is an alias of unsigned char. (authored by fpelliccioni).
We assume uint8_t is an alias of unsigned char.
Dec 17 2019, 19:08
fpelliccioni closed D4731: We assume uint8_t is an alias of unsigned char..
Dec 17 2019, 19:08
fpelliccioni committed rABC6dbaecb2d494: Fixes AES benchmarks (authored by fpelliccioni).
Fixes AES benchmarks
Dec 17 2019, 17:49
fpelliccioni closed D4749: Fixes AES benchmarks.
Dec 17 2019, 17:49
fpelliccioni updated the diff for D4731: We assume uint8_t is an alias of unsigned char..

included climits header

Dec 17 2019, 17:28
fpelliccioni updated the diff for D4731: We assume uint8_t is an alias of unsigned char..

included cstdint header

Dec 17 2019, 16:33
fpelliccioni updated the summary of D4749: Fixes AES benchmarks.
Dec 17 2019, 16:25
fpelliccioni created D4749: Fixes AES benchmarks.
Dec 17 2019, 16:25
fpelliccioni updated the diff for D4731: We assume uint8_t is an alias of unsigned char..

added 8-bit byte assumtion

Dec 17 2019, 15:39

Dec 16 2019

fpelliccioni updated the diff for D4731: We assume uint8_t is an alias of unsigned char..

added linting exclusion

Dec 16 2019, 21:02
fpelliccioni updated the diff for D4731: We assume uint8_t is an alias of unsigned char..

fixed comments

Dec 16 2019, 19:45
fpelliccioni added a comment to D4731: We assume uint8_t is an alias of unsigned char..

The change doesn't appear to match the description. Did you get bit by the linter?

Dec 16 2019, 19:43
fpelliccioni updated the diff for D4731: We assume uint8_t is an alias of unsigned char..

included type_traits header

Dec 16 2019, 19:41
fpelliccioni planned changes to D4731: We assume uint8_t is an alias of unsigned char..
Dec 16 2019, 18:15
fpelliccioni updated the summary of D4731: We assume uint8_t is an alias of unsigned char..
Dec 16 2019, 18:15
fpelliccioni updated the summary of D4731: We assume uint8_t is an alias of unsigned char..
Dec 16 2019, 18:14
fpelliccioni updated the summary of D4731: We assume uint8_t is an alias of unsigned char..
Dec 16 2019, 18:14
fpelliccioni created D4731: We assume uint8_t is an alias of unsigned char..
Dec 16 2019, 18:12