chain: more refactoring.
chain: more refactoring.

decentraland/decentraland-node,decentraland/decentraland-node,VidaID/bcoin,decentraland/bronzeage-node,decentraland/bronzeage-node,decentraland/decentraland-node,VidaID/bcoin,decentraland/bronzeage-node,VidaID/bcoin