eval-exec
Repos
71
Followers
28
Following
128

EXEC's dotfiles. Emacs, VIM .Xresources .i3config, Alacritty, Tmux

Implementation of a skiplist data structure that is thread-safe for searching and insertion.

0
0

Learning Data structure & Algorithm.

1
1

conways' game of life build by Rust and Rust-WebAssembly. Preview: https://eval-exec.github.io/conways-game-of-life/

1
0

Print the route packets trace to network host

0
0

Events

pull request opened
Add stat command
  • add stat command
Created at 3 days ago
Created at 4 days ago
opened issue
Tdrop window move down a distance of window title on every drop call when "-r" flag is used

I bind a custom shortcut to emacs by tdrop -r emacs when I first run tdrop -r emacs, the emacs window appears here: image Then I run tdrop -r emacs to hide the emacs window, then run tdrop -r emacs to show the emacs window, it appears in here: image repeat last 2 steps, it appears here: image repeat last 2 steps, it appears here:

It seems that when I hide and show the window by tdrop -r emacs, the window would move down a distance of window title.

some infomations may help to solve this issue

$ uname -a
Linux Mufasa 6.0.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 16 Nov 2022 17:01:17 +0000 x86_64 GNU/Linux

tdrop version: 0.4.0.r26.gc6d1d24-1
OS: Arch Linux x86_64
DE: Plasma 5.26.3
WM: KWin

Created at 6 days ago
issue comment
Move OrphanBlockPool from Synchronizer to ChainService

This PR is not going to be merged at the moment, because there is a higher priority work: Building a credible measurement method for measuring the timecost of the ckb synchronization process.

Like: start several ckb nodes, use the ckb import subcommand to quickly increase the tip height to the specified target, and use the netem tool to increase the network delay or packet loss rate of some nodes, so as to simulate the real network environment.

helpful links:

https://man7.org/linux/man-pages/man8/tc-netem.8.html

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

fix: check the in-pool chidren for all newly added tx

Merge #3713

3713: fix: check in-pool chidren for all newly added tx r=quake a=zhangsoledad

What problem does this PR solve?

Check the in-pool chidren of all newly added transactions and no longer distinguish the entry source of newly added transactions.

What is changed and how it works?

Removed the separate add_entry_from_detached interface, all new add transactions will be checked in-pool chidren

Check List

Tests

  • Unit test
  • Integration test

Release note

Title Only: Include only the PR title in the release note.

Co-authored-by: zhangsoledad 787953403@qq.com

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 1 week ago

move OrphanBlockPool to ChainService

Created at 1 week ago

update

fix clippy

Created at 1 week ago

update

Created at 1 week ago

update

Created at 1 week ago

update

Created at 1 week ago

update

Created at 1 week ago

update

Created at 1 week ago

wip

Created at 1 week ago

chore(deps): bump anyhow from 1.0.65 to 1.0.66

Bumps anyhow from 1.0.65 to 1.0.66.


updated-dependencies:

  • dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump base64 from 0.13.0 to 0.13.1

Bumps base64 from 0.13.0 to 0.13.1.


updated-dependencies:

  • dependency-name: base64 dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump serde_json from 1.0.86 to 1.0.87

Bumps serde_json from 1.0.86 to 1.0.87.


updated-dependencies:

  • dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump syn from 1.0.102 to 1.0.103

Bumps syn from 1.0.102 to 1.0.103.


updated-dependencies:

  • dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump libc from 0.2.135 to 0.2.137

Bumps libc from 0.2.135 to 0.2.137.


updated-dependencies:

  • dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump once_cell from 1.15.0 to 1.16.0

Bumps once_cell from 1.15.0 to 1.16.0.


updated-dependencies:

  • dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump hyper from 0.14.20 to 0.14.23

Bumps hyper from 0.14.20 to 0.14.23.


updated-dependencies:

  • dependency-name: hyper dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump num_cpus from 1.13.1 to 1.14.0

Bumps num_cpus from 1.13.1 to 1.14.0.


updated-dependencies:

  • dependency-name: num_cpus dependency-type: direct:production update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump serde from 1.0.145 to 1.0.147

Bumps serde from 1.0.145 to 1.0.147.


updated-dependencies:

  • dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps): bump time from 0.3.15 to 0.3.17

Bumps time from 0.3.15 to 0.3.17.


updated-dependencies:

  • dependency-name: time dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

fix: tx-pool handle conflicting transactions after reorg occurs

fix: tx-pool add detached tx

chore: log tx_hash when blocktemplate resolve failed

Merge #3706

3706: Fix tx-pool potential inconsistent after reorg occurs r=zhangsoledad a=zhangsoledad

What problem does this PR solve?

Usually when a new transaction is added to the pool, it has no in-pool children (because any such children would be an orphan). In the event of a reorg, the assumption that a newly added tx has no in-pool children is false. In particular, the pool is in an inconsistent state while new transactions are being added.

What is changed and how it works?

When a reorg occurs and the tx-pool adds transactions from the disconnect block, it also updates the state of the corresponding descendants to ensure that the state is consistent.

Check List

Tests

  • Unit test
  • Integration test

Release note

Title Only: Include only the PR title in the release note.

Co-authored-by: zhangsoledad 787953403@qq.com

Merge #3663 #3685 #3686 #3693 #3694 #3695

3663: chore(deps): bump syn from 1.0.102 to 1.0.103 r=zhangsoledad a=dependabot[bot]

Bumps syn from 1.0.102 to 1.0.103.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3685: chore(deps): bump libc from 0.2.135 to 0.2.137 r=zhangsoledad a=dependabot[bot]

Bumps libc from 0.2.135 to 0.2.137.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3686: chore(deps): bump once_cell from 1.15.0 to 1.16.0 r=zhangsoledad a=dependabot[bot]

Bumps once_cell from 1.15.0 to 1.16.0.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3693: chore(deps): bump hyper from 0.14.20 to 0.14.23 r=zhangsoledad a=dependabot[bot]

Bumps hyper from 0.14.20 to 0.14.23.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3694: chore(deps): bump num_cpus from 1.13.1 to 1.14.0 r=zhangsoledad a=dependabot[bot]

Bumps num_cpus from 1.13.1 to 1.14.0.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3695: chore(deps): bump time from 0.3.15 to 0.3.17 r=zhangsoledad a=dependabot[bot]

Bumps time from 0.3.15 to 0.3.17.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Merge #3662

3662: chore(deps): bump serde_json from 1.0.86 to 1.0.87 r=zhangsoledad a=dependabot[bot]

Bumps serde_json from 1.0.86 to 1.0.87.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Merge #3656 #3657 #3660

3656: chore(deps): bump serde from 1.0.145 to 1.0.147 r=zhangsoledad a=dependabot[bot]

Bumps serde from 1.0.145 to 1.0.147.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3657: chore(deps): bump anyhow from 1.0.65 to 1.0.66 r=zhangsoledad a=dependabot[bot]

Bumps anyhow from 1.0.65 to 1.0.66.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

3660: chore(deps): bump base64 from 0.13.0 to 0.13.1 r=zhangsoledad a=dependabot[bot]

Bumps base64 from 0.13.0 to 0.13.1.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting ``@dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • ``@dependabot rebase will rebase this PR
  • ``@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • ``@dependabot merge will merge this PR after your CI passes on it
  • ``@dependabot squash and merge will squash and merge this PR after your CI passes on it
  • ``@dependabot cancel merge will cancel a previously requested merge and block automerging
  • ``@dependabot reopen will reopen this PR if it is closed
  • ``@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • ``@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • ``@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore: bump to v0.107.0-pre

chore: fix PoolResolveConflictAfterReorg random failed

Merge #3711

3711: chore: fix PoolResolveConflictAfterReorg random failed r=quake a=zhangsoledad

What problem does this PR solve?

fix PoolResolveConflictAfterReorg random failed https://github.com/nervosnetwork/ckb/actions/runs/3494108211/jobs/5849597473

Check List

Tests

  • Unit test
  • Integration test

Release note

None: Exclude this PR from the release note.

Co-authored-by: zhangsoledad 787953403@qq.com

Created at 1 week ago

wip

Created at 1 week ago

WIP

Created at 2 weeks ago
pull request opened
[WIP] Move orphan pool to ChainService

What problem does this PR solve?

This PR is a pre-task for "make blocks download and blocks verification asynchronous". tasks

Problem Summary:

What is changed and how it works?

What's Changed:

Related changes

  • move header_map and block_status_map from Synchronizer::SyncShared::SyncState to ckb-shared::Shared
  • move OrphanBlockPool to ChainService

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Side effects

Release note

None: Exclude this PR from the release note.
Title Only: Include only the PR title in the release note.
Note: Add a note under the PR title in the release note.
Created at 2 weeks ago
issue comment
Enhance: Add blocks queue before block process to reduce IBD timecost

Due to some design changes, this PR was blocked until the TODO 1 .

Now there are 3 TODOs: TODO 1. Move the OrphanBlockPool from Synchronizer to ChainService. TODO 2. Add an block_queue to ChainService to make "blocks download" and "blocks validation" asynchronous, and use tokio::Task to consume the block_queue. TODO 3. A credible benchmark solution / test script.

Created at 2 weeks ago
create branch
eval-exec create branch move-orphan-pool-to-ChainController
Created at 2 weeks ago
issue comment
Enhance: Add blocks queue before block process to reduce IBD timecost

Is there a script available for reproduce the benchmark results, or steps description?

I generate the benchmark result

Is there a script available for reproduce the benchmark results, or steps description?

I just simply use the develop branch and the current branch to compile the two ckb nodes respectively. After running two nodes, I got two log files data/logs/run.log. Then use the ckb-log-analyzer tool, input these two log files to generate a graph of the sync process.

Created at 2 weeks ago

update README.md

Signed-off-by: Eval EXEC execvy@gmail.com

Created at 2 weeks ago