muntorg / munt-official

Munt is a witness-secured decentralized network for payments, digital assets, finance and more
https://www.munt.org
Other
135 stars 46 forks source link

Introduce 'account safe' signrawtransaction #197

Open mjmacleod opened 4 years ago

mjmacleod commented 4 years ago

'signrawtransaction' will sign with any keys it can find in the wallet, regardless of what account it is in.

For certain use cases it would probably be nice to have an 'account safe' version (or an extra paramater to make it account safe) such that it then limits the signing to only keys from the specified/active account and won't sign from other accounts.

Example: Some service that hosts multiple user accounts in one wallet.

See also: https://github.com/Gulden/gulden-official/issues/195