Update middleware version
This commit is contained in:
parent
f3d07c5e0f
commit
be42005441
3 changed files with 3 additions and 5 deletions
|
@ -92,7 +92,7 @@ func (s *NetworkAPIService) NetworkOptions(
|
||||||
Version: &types.Version{
|
Version: &types.Version{
|
||||||
RosettaVersion: types.RosettaAPIVersion,
|
RosettaVersion: types.RosettaAPIVersion,
|
||||||
NodeVersion: NodeVersion,
|
NodeVersion: NodeVersion,
|
||||||
MiddlewareVersion: &MiddlewareVersion,
|
MiddlewareVersion: types.String(MiddlewareVersion),
|
||||||
},
|
},
|
||||||
Allow: &types.Allow{
|
Allow: &types.Allow{
|
||||||
OperationStatuses: bitcoin.OperationStatuses,
|
OperationStatuses: bitcoin.OperationStatuses,
|
||||||
|
|
|
@ -27,7 +27,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
middlewareVersion = "0.0.6"
|
middlewareVersion = "0.0.7"
|
||||||
defaultNetworkOptions = &types.NetworkOptionsResponse{
|
defaultNetworkOptions = &types.NetworkOptionsResponse{
|
||||||
Version: &types.Version{
|
Version: &types.Version{
|
||||||
RosettaVersion: types.RosettaAPIVersion,
|
RosettaVersion: types.RosettaAPIVersion,
|
||||||
|
|
|
@ -39,15 +39,13 @@ const (
|
||||||
// inlineFetchLimit is the maximum number
|
// inlineFetchLimit is the maximum number
|
||||||
// of transactions to fetch inline.
|
// of transactions to fetch inline.
|
||||||
inlineFetchLimit = 100
|
inlineFetchLimit = 100
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
|
||||||
// MiddlewareVersion is the version
|
// MiddlewareVersion is the version
|
||||||
// of rosetta-bitcoin. We set this as a
|
// of rosetta-bitcoin. We set this as a
|
||||||
// variable instead of a constant because
|
// variable instead of a constant because
|
||||||
// we typically need the pointer of this
|
// we typically need the pointer of this
|
||||||
// value.
|
// value.
|
||||||
MiddlewareVersion = "0.0.6"
|
MiddlewareVersion = "0.0.7"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client is used by the servicers to get Peer information
|
// Client is used by the servicers to get Peer information
|
||||||
|
|
Loading…
Reference in a new issue