OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Modify Dockerfile expose ports (#338)
[bytom/vapor.git]
/
account
/
indexer.go
1
package account
2
3
import (
4
"github.com/vapor/blockchain/query"
5
)
6
7
//Annotated init an annotated account object
8
func Annotated(a *Account) *query.AnnotatedAccount {
9
return &query.AnnotatedAccount{
10
ID: a.ID,
11
Alias: a.Alias,
12
Quorum: a.Quorum,
13
XPubs: a.XPubs,
14
KeyIndex: a.KeyIndex,
15
DeriveRule: a.DeriveRule,
16
}
17
}