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
Voter reward (#286)
[bytom/vapor.git]
/
toolbar
/
reward
/
database
/
orm
/
vote_utxo.go
diff --git a/toolbar/reward/database/orm/vote_utxo.go
b/toolbar/reward/database/orm/vote_utxo.go
new file mode 100644
(file)
index 0000000..
4395181
--- /dev/null
+++ b/
toolbar/reward/database/orm/vote_utxo.go
@@ -0,0
+1,11
@@
+package orm
+
+type Utxo struct {
+ ID uint64 `gorm:"primary_key"`
+ Xpub string
+ VoterAddress string
+ VoteHeight uint64
+ VoteNum uint64
+ VetoHeight uint64
+ OutputID string
+}