BitCache Message Specification

The BitCache message structure is one of length-delimited chunks of bytes with the following parts:

Serialisation format

Each chunk in a BitCache channel message has the following header:

8 byte chunk name

8 byte chunk size

Transaction chunk structure

Output key usage chunk structure

Key usage metadata structure

Example data values

Seed/Key Fingerprint

Electrum wallets build on the BIP32 fingerprint. This is what is included into a BIP32 xpub and will likely be good enough for our needs. This is the first four bytes of the ripemd160 hash of the parent public key.

So wherever Electrum wallets have a need for fingerprints the following is done:

  • For single singer wallets this is the first four bytes of the ripemd160 hash of the parent key. This is 4 bytes long.

  • For multi-signature wallets, the fingerprint of each cosigner wallet is taken as per the single signer case, then they are ordered and concatenated. For n cosigners, this is n*4 bytes long.

Last updated