Fix project name, links, rename the binaries (#11580)
* Fix project name, links, rename binary * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update updater/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
@@ -600,7 +600,7 @@ mod tests {
|
||||
io.peers_info.insert(2, "Parity-Ethereum/v2.6.0/linux/rustc".to_owned());
|
||||
// and peer#3 is Parity, accepting service transactions
|
||||
insert_dummy_peer(&mut sync, 3, block_hash);
|
||||
io.peers_info.insert(3, "Open-Ethereum/ABCDEFGH/v2.7.3/linux/rustc".to_owned());
|
||||
io.peers_info.insert(3, "OpenEthereum/ABCDEFGH/v2.7.3/linux/rustc".to_owned());
|
||||
|
||||
// and new service transaction is propagated to peers
|
||||
SyncPropagator::propagate_new_transactions(&mut sync, &mut io, || true);
|
||||
@@ -624,7 +624,7 @@ mod tests {
|
||||
|
||||
// when peer#1 is Parity, accepting service transactions
|
||||
insert_dummy_peer(&mut sync, 1, block_hash);
|
||||
io.peers_info.insert(1, "Open-Ethereum/v2.6.0/linux/rustc".to_owned());
|
||||
io.peers_info.insert(1, "OpenEthereum/v2.6.0/linux/rustc".to_owned());
|
||||
|
||||
// and service + non-service transactions are propagated to peers
|
||||
SyncPropagator::propagate_new_transactions(&mut sync, &mut io, || true);
|
||||
|
||||
@@ -147,7 +147,7 @@ impl Snapshot {
|
||||
/// sometimes spills over into more than one chunk and the parts of state that are missing
|
||||
/// pieces are held in memory while waiting for the next chunk(s) to show up. This means that
|
||||
/// when chunks are processed out-of-order, memory usage goes up, sometimes significantly (see
|
||||
/// e.g. https://github.com/OpenEthereum/open-ethereum/issues/8825).
|
||||
/// e.g. https://github.com/openethereum/openethereum/issues/8825).
|
||||
pub fn needed_chunk(&mut self) -> Option<H256> {
|
||||
// Find next needed chunk: first block, then state chunks
|
||||
let chunk = {
|
||||
|
||||
Reference in New Issue
Block a user