class GetBlockHeadersQuery(rlp.Serializable): fields = [ ('block_number_or_hash', HashOrNumber()), ('max_headers', sedes.big_endian_int), ('skip', sedes.big_endian_int), ('reverse', sedes.boolean), ]
class GetBlockHeaders(Command): _cmd_id = 3 structure = [ ('block_number_or_hash', HashOrNumber()), ('max_headers', sedes.big_endian_int), ('skip', sedes.big_endian_int), ('reverse', sedes.boolean), ]