Merge tag 'v1.10.17' into merge/v1.10.17

This commit is contained in:
philip-morlier
2022-03-30 15:40:07 -07:00
178 changed files with 10680 additions and 1779 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ func (d *dbWrapper) AppendAncient(number uint64, hash, header, body, receipt, td
func (d *dbWrapper) ModifyAncients(fn func(ethdb.AncientWriteOp) error) (int64, error) {
return d.db.ModifyAncients(fn)
}
func (d *dbWrapper) TruncateAncients(n uint64) error { return d.db.TruncateAncients(n) }
func (d *dbWrapper) TruncateAncients(n uint64) error {
return fmt.Errorf("TruncateAncients is no longer supported in geth 1.10.17 and above.") }
func (d *dbWrapper) Sync() error { return d.db.Sync() }
func (d *dbWrapper) Close() error { return d.db.Close() }
func (d *dbWrapper) NewIterator(prefix []byte, start []byte) restricted.Iterator {