Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
bfdd3fa
make creating block and executing block parallized
jackzhhuang Jun 3, 2025
be12096
force to mint if the dag block comes from peers
jackzhhuang Jun 4, 2025
73cbfd7
add new header serivice
jackzhhuang Jun 5, 2025
c22dfa7
save code temporarily
jackzhhuang Jun 7, 2025
622956e
reverse flexidag/src/blockdag.rs
jackzhhuang Jun 7, 2025
4d8a2bf
monitor the new dag and peer new dag instead of new head message to g…
jackzhhuang Jun 7, 2025
f1b94e3
sort the tips by the work type and blue score and fetch the previous …
jackzhhuang Jun 7, 2025
9a5cbac
receive the block header before creating new block
jackzhhuang Jun 8, 2025
7c175f3
no mining until synced
jackzhhuang Jun 10, 2025
58cfc76
add dynamic block time
jackzhhuang Jun 16, 2025
24bea6f
the number of an end block of an epoch should subtract 1 before compa…
jackzhhuang Jun 16, 2025
894792c
use system time as end time
jackzhhuang Jun 16, 2025
c82de39
use time plan as default block time target
jackzhhuang Jun 16, 2025
4695cff
use difficulty window to calcutlate the next difficulty
jackzhhuang Jun 16, 2025
d5ae08c
fix fmt
jackzhhuang Jun 16, 2025
48ccc0e
use k ratio to calculate the next block time target
jackzhhuang Jun 17, 2025
5a4aed5
use ratio to control the block time target
jackzhhuang Jun 18, 2025
34a22a8
fix contain checking
jackzhhuang Jun 18, 2025
922e476
use expected_blue_uncles_count to control the block time target
jackzhhuang Jun 18, 2025
f5ab372
add selected count in next_block_time_target
jackzhhuang Jun 18, 2025
67f8970
fix div ratio
jackzhhuang Jun 18, 2025
c9dc805
fix div ratio not mul
jackzhhuang Jun 18, 2025
0f06aa9
add red blocks in block meta struct
jackzhhuang Jun 24, 2025
2b60095
add blue ratio in genesis config
jackzhhuang Jun 24, 2025
2c27a6f
add latest mv
jackzhhuang Jun 25, 2025
f012cb7
fix fmt
jackzhhuang Jun 25, 2025
e6e7c3c
push the red blocks in latest version branch
jackzhhuang Jun 25, 2025
bcfe4a8
min and max block time target in halley is 100 and 2000
jackzhhuang Jun 25, 2025
173b11a
no force to mint when new dag block message coming
jackzhhuang Jun 25, 2025
a81d122
refactor to avoid duplicate codes
jackzhhuang Jun 26, 2025
304901a
fix fmt
jackzhhuang Jun 26, 2025
373c1cc
generate the new genesis
jackzhhuang Jun 26, 2025
db58322
update epoch mv and halley genesis
jackzhhuang Jun 27, 2025
0648718
no cache db
jackzhhuang Jun 28, 2025
2708f0c
fix fmt
jackzhhuang Jun 28, 2025
21a8989
update red blocks
jackzhhuang Jun 28, 2025
eb01cea
update genesis
jackzhhuang Jun 28, 2025
50f0170
change the epoch if the header changes
jackzhhuang Jun 30, 2025
e64b5cd
print some info
jackzhhuang Jul 2, 2025
4e3951a
add some debug info
jackzhhuang Jul 2, 2025
24c7ec2
add more info
jackzhhuang Jul 2, 2025
3daee52
remove debug info
jackzhhuang Jul 2, 2025
db40ace
no force to mint if new peer blocks come
jackzhhuang Jul 3, 2025
261c299
resolve the tips from the rabbit bot
jackzhhuang Jul 3, 2025
e99847b
fix test_example_config_compact
jackzhhuang Jul 3, 2025
ffd157a
fix test_that_generated_file_are_up_to_date_in_git
jackzhhuang Jul 4, 2025
7a25e97
fix config for test case in genesis and config
jackzhhuang Jul 14, 2025
a8ccbb0
generated genesis for proxima and vega
jackzhhuang Jul 4, 2025
2cd1781
add upgrade version 13 stlib
jackzhhuang Jul 7, 2025
e863aa8
Remove blue ratio in config
sanlee42 Jul 8, 2025
b8743ea
Update stdlib
sanlee42 Jul 8, 2025
db130fd
Fix genesis
sanlee42 Jul 8, 2025
93f3abb
Fix config example
sanlee42 Jul 9, 2025
0a76ee9
update genesis
jackzhhuang Jul 10, 2025
6d6fdcc
force to mint if the dag block comes from peers
jackzhhuang Jun 4, 2025
9034c4d
switch main in build block service
jackzhhuang Jun 5, 2025
9a863de
add new header serivice
jackzhhuang Jun 5, 2025
de819bb
save code temporarily
jackzhhuang Jun 7, 2025
87a9b12
monitor the new dag and peer new dag instead of new head message to g…
jackzhhuang Jun 7, 2025
9b26fe8
sort the tips by the work type and blue score and fetch the previous …
jackzhhuang Jun 7, 2025
5bdc517
receive the block header before creating new block
jackzhhuang Jun 8, 2025
92c6e24
renew the header in block builder service asynchronically
jackzhhuang Jun 9, 2025
63f9238
the new process header will be triggered 1s internally
jackzhhuang Jun 9, 2025
de449f7
no mining until synced
jackzhhuang Jun 10, 2025
50e3cf3
reconstruct verify
jackzhhuang Jul 11, 2025
b56fa63
reconstruct the code for verification and chain
jackzhhuang Jul 14, 2025
b367616
comment the the black list blocks
jackzhhuang Jul 14, 2025
8c2be82
remove the black list verification
jackzhhuang Jul 14, 2025
f14d6f3
fix test_dag_multiple_commits
jackzhhuang Jul 14, 2025
8f37a30
Set the block time target from 500ms to 2000ms
jackzhhuang Jul 14, 2025
a0bd838
update the json and genesis binary files
jackzhhuang Jul 14, 2025
c7bdb72
fix json config
jackzhhuang Jul 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
no mining until synced
  • Loading branch information
jackzhhuang committed Jul 14, 2025
commit 7c175f3a09bfa89d5316bc0e38f47a6cd7a68633
2 changes: 1 addition & 1 deletion miner/src/generate_block_event_pacemaker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl ActorService for GenerateBlockEventPacemaker {
impl EventHandler<Self, NewDagBlock> for GenerateBlockEventPacemaker {
fn handle_event(&mut self, _msg: NewDagBlock, ctx: &mut ServiceContext<Self>) {
if self.is_synced() {
self.send_event(false, ctx)
self.send_event(true, ctx)
} else {
debug!("[pacemaker] Ignore NewDagBlock event because the node has not been synchronized yet.")
}
Expand Down