zingolabs / zingolib_original

ZingoLib
MIT License
1 stars 1 forks source link

current behavior is to replace view with spend on import #102

Open zancas opened 2 years ago

zancas commented 2 years ago

What is the name of the abstraction that encapsulates a set of keys with a diminishing authority relation? Shouldn't that abstraction naturally capture this case, with the two keys simply being elements of the authority cascade?

AloeareV commented 2 years ago

The closest thing we have to this is the placeholder name, not a good name WalletOKeyInner: https://github.com/zingolabs/zingolib/blob/99cbf19c025ceae0c9aa23399fdc36b6f4e44f58/lib/src/lightwallet/orchardkeys.rs#L37-L43