• Sina Mahmoodi's avatar
    core/rawdb: simple legacy receipt converter (#24028) · fd4f60f4
    Sina Mahmoodi authored
    * cmd,core: add simple legacy receipt converter
    
    core/rawdb: use forEach in migrate
    
    core/rawdb: batch reads in forEach
    
    core/rawdb: make forEach anonymous fn
    
    cmd/geth: check for legacy receipts on node startup
    
    fix err msg
    Co-authored-by: 's avatarrjl493456442 <garyrong0905@gmail.com>
    
    fix log
    Co-authored-by: 's avatarrjl493456442 <garyrong0905@gmail.com>
    
    fix some review comments
    
    add warning to cmd
    
    drop isLegacy fn from migrateTable params
    
    add test for windows rename
    
    test replacing in windows case
    
    * minor fix
    
    * sanity check for tail-deletion
    
    * add log before moving files around
    
    * speed-up hack for mainnet
    
    * fix mainnet check, use networkid instead
    
    * check mainnet genesis
    
    * review fixes
    
    * resume previous migration attempt
    
    * core/rawdb: lint fix
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    fd4f60f4
database.go 6.22 KB