nervosnetwork / ckb-cli

CKB command line interface
MIT License
55 stars 35 forks source link

feat: support packed block/transaction/header #554

Closed liuck8080 closed 1 year ago

liuck8080 commented 1 year ago

What does this PR do?

Support to get block/transaction/header in 0x-prefix format.

  1. Update ckb-sdk to 2.5.0 since this version support packed RPC, and update ckb to 0.108.0 accordingly.
  2. Add packed parameter to get_block/get_transaction/get_header/get_tip_header/get_fork_block.

Close issue https://github.com/nervosnetwork/ckb-cli/issues/549 and https://github.com/nervosnetwork/ckb-cli/issues/553