• Felix Lange's avatar
    consensus/ethash: refactor remote sealer (#20335) · a91b704b
    Felix Lange authored
    The original idea behind this change was to remove a use of the
    deprecated CancelRequest method. Simply removing it would've been an
    option, but I couldn't resist and did a bit of a refactoring instead.
    
    All remote sealing code was contained in a single giant function. Remote
    sealing is now extracted into its own object, remoteSealer.
    a91b704b
sealer.go 14 KB