eth: request id dispatcher and direct req/reply APIs (#23576)
* eth: request ID based message dispatcher * eth: fix dispatcher cancellation, rework fetchers idleness tracker * eth/downloader: drop peers who refuse to serve advertised chains
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -3949,10 +3949,18 @@ var outputSyncingFormatter = function(result) {
|
||||
result.startingBlock = utils.toDecimal(result.startingBlock);
|
||||
result.currentBlock = utils.toDecimal(result.currentBlock);
|
||||
result.highestBlock = utils.toDecimal(result.highestBlock);
|
||||
if (result.knownStates) {
|
||||
result.knownStates = utils.toDecimal(result.knownStates);
|
||||
result.pulledStates = utils.toDecimal(result.pulledStates);
|
||||
}
|
||||
result.syncedAccounts = utils.toDecimal(result.syncedAccounts);
|
||||
result.syncedAccountBytes = utils.toDecimal(result.syncedAccountBytes);
|
||||
result.syncedBytecodes = utils.toDecimal(result.syncedBytecodes);
|
||||
result.syncedBytecodeBytes = utils.toDecimal(result.syncedBytecodeBytes);
|
||||
result.syncedStorage = utils.toDecimal(result.syncedStorage);
|
||||
result.syncedStorageBytes = utils.toDecimal(result.syncedStorageBytes);
|
||||
result.healedTrienodes = utils.toDecimal(result.healedTrienodes);
|
||||
result.healedTrienodeBytes = utils.toDecimal(result.healedTrienodeBytes);
|
||||
result.healedBytecodes = utils.toDecimal(result.healedBytecodes);
|
||||
result.healedBytecodeBytes = utils.toDecimal(result.healedBytecodeBytes);
|
||||
result.healingTrienodes = utils.toDecimal(result.healingTrienodes);
|
||||
result.healingBytecode = utils.toDecimal(result.healingBytecode);
|
||||
|
||||
return result;
|
||||
};
|
||||
|
Reference in New Issue
Block a user