OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
603c324
)
add store.go
author
Chengcheng Zhang
<943420582@qq.com>
Thu, 20 Jun 2019 06:17:20 +0000
(14:17 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Thu, 20 Jun 2019 06:17:20 +0000
(14:17 +0800)
wallet/store.go
[new file with mode: 0644]
patch
|
blob
diff --git a/wallet/store.go
b/wallet/store.go
new file mode 100644
(file)
index 0000000..
4b7b02d
--- /dev/null
+++ b/
wallet/store.go
@@ -0,0
+1,13
@@
+package wallet
+
+import (
+ "github.com/vapor/common"
+ "github.com/vapor/protocol/bc"
+)
+
+// DB interface contains wallet storage functions.
+type DB interface {
+ GetAssetDefinitionByAssetID(*bc.AssetID) []byte
+ GetRawProgramByAccountHash(common.Hash) []byte
+ GetAccountValueByAccountID(string) []byte
+}