OSDN Git Service
(root)
/
bytom
/
bytom.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Main network and test network distinguish address prefix
[bytom/bytom.git]
/
api
/
types.go
1
package api
2
3
import (
4
"github.com/bytom/protocol/bc/types"
5
)
6
7
// BlockHeaderByHeight is resp struct for API
8
type BlockHeaderByHeight struct {
9
BlockHeader *types.BlockHeader `json:"block_header"`
10
Reward uint64 `json:"reward"`
11
}