comments
This commit is contained in:
parent
96a486866c
commit
0f16fdb97a
1
TODO.md
1
TODO.md
@ -235,6 +235,7 @@ These are roughly in order of completition
|
|||||||
- [x] test that runs check_config against example.toml
|
- [x] test that runs check_config against example.toml
|
||||||
- [x] improve sorting servers by weight. don't force to lower weights, still have a probability that smaller weights might be
|
- [x] improve sorting servers by weight. don't force to lower weights, still have a probability that smaller weights might be
|
||||||
- [x] flamegraphs show 52% of the time to be in tracing. replace with simpler logging
|
- [x] flamegraphs show 52% of the time to be in tracing. replace with simpler logging
|
||||||
|
- [x] add optional display name to rpc configs
|
||||||
- [-] add configurable size limits to all the Caches
|
- [-] add configurable size limits to all the Caches
|
||||||
- instead of configuring each cache with MB sizes, have one value for total memory footprint and then percentages for each cache
|
- instead of configuring each cache with MB sizes, have one value for total memory footprint and then percentages for each cache
|
||||||
- [ ] add block timestamp to the /status page
|
- [ ] add block timestamp to the /status page
|
||||||
|
@ -68,6 +68,7 @@ impl Web3Connections {
|
|||||||
|
|
||||||
// // trace!(%block_hash, %block_num, "saving new block");
|
// // trace!(%block_hash, %block_num, "saving new block");
|
||||||
|
|
||||||
|
// TODO: this block is very likely already in block_hashes
|
||||||
self.block_hashes
|
self.block_hashes
|
||||||
.insert(*block_hash, block.to_owned())
|
.insert(*block_hash, block.to_owned())
|
||||||
.await;
|
.await;
|
||||||
|
@ -447,6 +447,7 @@ impl Web3Connection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// send the block off to be saved
|
||||||
block_sender
|
block_sender
|
||||||
.send_async((Some(new_head_block), self.clone()))
|
.send_async((Some(new_head_block), self.clone()))
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user