Skip to content

Express characteristics of the Wallet as part of the interface #2

@placer14

Description

@placer14

Some aspects of the wallet should be reflected in the interface. Ex:

  • currency code for the coins
  • does the wallet/coin support time-based redemption scripts
  • maximum coin divisibility (magnitude of smallest fraction of coin)

This data might be represented via a func Config() *wallet.Properties where

type wallet.Properties struct{
 CurrencyCode string
 FeatureTimeBasedRedemptionScripts bool
 MaximumDivisibility uint
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions