OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reward util (#342)
[bytom/vapor.git]
/
toolbar
/
vote_reward
/
database
/
orm
/
utxo.go
diff --git a/toolbar/vote_reward/database/orm/utxo.go
b/toolbar/vote_reward/database/orm/utxo.go
new file mode 100644
(file)
index 0000000..
d47ea55
--- /dev/null
+++ b/
toolbar/vote_reward/database/orm/utxo.go
@@ -0,0
+1,11
@@
+package orm
+
+type Utxo struct {
+ ID uint64 `gorm:"primary_key"`
+ OutputID string
+ Xpub string
+ VoteAddress string
+ VoteNum uint64
+ VoteHeight uint64
+ VetoHeight uint64
+}