mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
kernel: Update headerssync params
This commit is contained in:
@@ -12,13 +12,13 @@ import random
|
|||||||
# Parameters:
|
# Parameters:
|
||||||
|
|
||||||
# Aim for still working fine at some point in the future. [datetime]
|
# Aim for still working fine at some point in the future. [datetime]
|
||||||
TIME = datetime(2028, 10, 10)
|
TIME = datetime(2029, 4, 10)
|
||||||
|
|
||||||
# Expected block interval. [timedelta]
|
# Expected block interval. [timedelta]
|
||||||
BLOCK_INTERVAL = timedelta(seconds=600)
|
BLOCK_INTERVAL = timedelta(seconds=600)
|
||||||
|
|
||||||
# The number of headers corresponding to the minchainwork parameter. [headers]
|
# The number of headers corresponding to the minchainwork parameter. [headers]
|
||||||
MINCHAINWORK_HEADERS = 938343
|
MINCHAINWORK_HEADERS = 966143
|
||||||
|
|
||||||
# Combined processing bandwidth from all attackers to one victim. [bit/s]
|
# Combined processing bandwidth from all attackers to one victim. [bit/s]
|
||||||
# 6 Gbit/s is approximately the speed at which a single thread of a Ryzen 5950X CPU thread can hash
|
# 6 Gbit/s is approximately the speed at which a single thread of a Ryzen 5950X CPU thread can hash
|
||||||
|
|||||||
@@ -220,10 +220,10 @@ public:
|
|||||||
.dTxRate = 7.851784479579372,
|
.dTxRate = 7.851784479579372,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generated by headerssync-params.py on 2026-02-25.
|
// Generated by headerssync-params.py on 2026-09-08.
|
||||||
m_headers_sync_params = HeadersSyncParams{
|
m_headers_sync_params = HeadersSyncParams{
|
||||||
.commitment_period = 641,
|
.commitment_period = 649,
|
||||||
.redownload_buffer_size = 15218, // 15218/641 = ~23.7 commitments
|
.redownload_buffer_size = 15400, // 15400/649 = ~23.7 commitments
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -322,10 +322,10 @@ public:
|
|||||||
.dTxRate = 0.02306697351149596,
|
.dTxRate = 0.02306697351149596,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generated by headerssync-params.py on 2026-02-25.
|
// Generated by headerssync-params.py on 2026-09-08.
|
||||||
m_headers_sync_params = HeadersSyncParams{
|
m_headers_sync_params = HeadersSyncParams{
|
||||||
.commitment_period = 673,
|
.commitment_period = 682,
|
||||||
.redownload_buffer_size = 14460, // 14460/673 = ~21.5 commitments
|
.redownload_buffer_size = 14613, // 14613/682 = ~21.4 commitments
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -429,10 +429,10 @@ public:
|
|||||||
.dTxRate = 0.1148250171344748,
|
.dTxRate = 0.1148250171344748,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generated by headerssync-params.py on 2026-02-25.
|
// Generated by headerssync-params.py on 2026-09-08.
|
||||||
m_headers_sync_params = HeadersSyncParams{
|
m_headers_sync_params = HeadersSyncParams{
|
||||||
.commitment_period = 606,
|
.commitment_period = 616,
|
||||||
.redownload_buffer_size = 16092, // 16092/606 = ~26.6 commitments
|
.redownload_buffer_size = 16199, // 16199/616 = ~26.3 commitments
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -548,10 +548,10 @@ public:
|
|||||||
fDefaultConsistencyChecks = false;
|
fDefaultConsistencyChecks = false;
|
||||||
m_is_mockable_chain = false;
|
m_is_mockable_chain = false;
|
||||||
|
|
||||||
// Generated by headerssync-params.py on 2026-02-25.
|
// Generated by headerssync-params.py on 2026-09-08.
|
||||||
m_headers_sync_params = HeadersSyncParams{
|
m_headers_sync_params = HeadersSyncParams{
|
||||||
.commitment_period = 620,
|
.commitment_period = 629,
|
||||||
.redownload_buffer_size = 15724, // 15724/620 = ~25.4 commitments
|
.redownload_buffer_size = 15885, // 15885/629 = ~25.3 commitments
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user