docs: add LICENSE and README

This commit is contained in:
2024-05-23 15:21:42 +08:00
parent 2640ecd03b
commit a599bb200e
3 changed files with 680 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ func (p *Processor) ProcessBlock(ctx context.Context, blockNumber uint64) error
}
func (p *Processor) isTrieAvailable(blockNumber uint64) bool {
available := p.chain.IsArchiveNode() || p.stats.GetLatestBlock()-blockNumber <= 256
available := p.chain.IsArchiveNode() || p.stats.GetLatestBlock()-blockNumber <= 128
if !available {
p.logg.Warn("skipping block due to potentially missing trie", "block_number", blockNumber)
}