mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 04:04:21 +01:00
* Rename asp > server * Rename pool > round * Consolidate naming for pubkey/prvkey vars and types * Fix * Fix * Fix wasm * Rename congestionTree > vtxoTree * Fix wasm * Rename payment > request * Rename congestionTree > vtxoTree after syncing with master * Fix Send API in SDK * Fix wasm * Fix wasm * Fixes * Fixes after review * Fix * Fix naming * Fix * Fix e2e tests
17 lines
285 B
Go
17 lines
285 B
Go
package store
|
|
|
|
import (
|
|
"github.com/decred/dcrd/dcrec/secp256k1/v4"
|
|
)
|
|
|
|
type WalletData struct {
|
|
EncryptedPrvkey []byte
|
|
PasswordHash []byte
|
|
PubKey *secp256k1.PublicKey
|
|
}
|
|
|
|
type WalletStore interface {
|
|
AddWallet(data WalletData) error
|
|
GetWallet() (*WalletData, error)
|
|
}
|