gottstech / gotts

A blockchain for non-collateralized stable-coins, follow MimbleWimble protocol but with explicit amount.
https://gotts.tech
Apache License 2.0
48 stars 4 forks source link

refact: move 'RecipientKey' structure from node to wallet #44

Closed garyyu closed 4 years ago

garyyu commented 4 years ago

Some minor refactoring:

  1. Move RecipientKey structure from node to wallet.
  2. ChildNumber add next method for the quality of dev life.
  3. Identifier::to_bip_32_string differentiate between non-hardened and hardened path: for example m/0'/0' for hardened path, m/0/0 for non-hardened path.