nervosnetwork / ckb

The Nervos CKB is a public permissionless blockchain, and the layer 1 of Nervos network.
https://www.nervos.org
MIT License
1.14k stars 224 forks source link

Move `BlockNumberAndHash` from`ckb-sync` to `ckb-types` #4494

Closed eval-exec closed 3 weeks ago

eval-exec commented 3 weeks ago

What problem does this PR solve?

I think BlockNumberAndHash is more suitable to be placed in ckb-types. Moreover, I want to use BlockNumberAndHash in ckb-db and ckb-db-schema.

What's Changed:

Related changes

Check List

Tests

Side effects

Release note

Title Only: Include only the PR title in the release note.