Remove a reference to points_paid field in get response #82
2 changed files with 14 additions and 1 deletions
|
@ -53,7 +53,6 @@ type File struct {
|
||||||
MimeType string `json:"mime_type"`
|
MimeType string `json:"mime_type"`
|
||||||
Nout int `json:"nout"`
|
Nout int `json:"nout"`
|
||||||
Outpoint string `json:"outpoint"`
|
Outpoint string `json:"outpoint"`
|
||||||
PointsPaid decimal.Decimal `json:"points_paid"`
|
|
||||||
Protobuf string `json:"protobuf"`
|
Protobuf string `json:"protobuf"`
|
||||||
PurchaseReceipt interface{} `json:"purchase_receipt"`
|
PurchaseReceipt interface{} `json:"purchase_receipt"`
|
||||||
ReflectorProgress int `json:"reflector_progress"`
|
ReflectorProgress int `json:"reflector_progress"`
|
||||||
|
@ -305,6 +304,18 @@ type Support struct {
|
||||||
Txid string `json:"txid"`
|
Txid string `json:"txid"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type PurchaseReceipt struct {
|
||||||
|
Address string `json:"file_name"`
|
||||||
|
Amount string `json:"amount"`
|
||||||
|
ClaimID string `json:"claim_id"`
|
||||||
|
Confirmations int `json:"confirmations"`
|
||||||
|
Height int `json:"height"`
|
||||||
|
Nout uint64 `json:"nout"`
|
||||||
|
Timestamp uint64 `json:"timestamp"`
|
||||||
|
Txid string `json:"txid"`
|
||||||
|
Type string `json:"purchase"`
|
||||||
|
}
|
||||||
|
|
||||||
type Claim struct {
|
type Claim struct {
|
||||||
Address string `json:"address"`
|
Address string `json:"address"`
|
||||||
Amount string `json:"amount"`
|
Amount string `json:"amount"`
|
||||||
|
@ -324,6 +335,7 @@ type Claim struct {
|
||||||
NormalizedName string `json:"normalized_name"`
|
NormalizedName string `json:"normalized_name"`
|
||||||
Nout uint64 `json:"nout"`
|
Nout uint64 `json:"nout"`
|
||||||
PermanentURL string `json:"permanent_url"`
|
PermanentURL string `json:"permanent_url"`
|
||||||
|
PurchaseReceipt *PurchaseReceipt `json:"purchase_receipt,omitempty"`
|
||||||
ShortURL string `json:"short_url"`
|
ShortURL string `json:"short_url"`
|
||||||
SigningChannel *Claim `json:"signing_channel,omitempty"`
|
SigningChannel *Claim `json:"signing_channel,omitempty"`
|
||||||
Timestamp int `json:"timestamp"`
|
Timestamp int `json:"timestamp"`
|
||||||
|
|
1
go.sum
1
go.sum
|
@ -84,6 +84,7 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||||
github.com/lbryio/errors.go v0.0.0-20180223142025-ad03d3cc6a5c/go.mod h1:muH7wpUqE8hRA3OrYYosw9+Sl681BF9cwcjzE+OCNK8=
|
github.com/lbryio/errors.go v0.0.0-20180223142025-ad03d3cc6a5c/go.mod h1:muH7wpUqE8hRA3OrYYosw9+Sl681BF9cwcjzE+OCNK8=
|
||||||
github.com/lbryio/lbry.go v1.1.2 h1:Dyxc+glT/rVWJwHfIf7vjlPYYbjzrQz5ARmJd5Hp69c=
|
github.com/lbryio/lbry.go v1.1.2 h1:Dyxc+glT/rVWJwHfIf7vjlPYYbjzrQz5ARmJd5Hp69c=
|
||||||
github.com/lbryio/lbry.go v1.1.2/go.mod h1:JtyI30bU51rm0LZ/po3mQuzf++14OWb6kR/6mMRAmKU=
|
github.com/lbryio/lbry.go v1.1.2/go.mod h1:JtyI30bU51rm0LZ/po3mQuzf++14OWb6kR/6mMRAmKU=
|
||||||
|
github.com/lbryio/lbrycrd.go v0.0.0-20200203050410-e1076f12bf19 h1:/zWD8dVIl7bV1TdJWqPqy9tpqixzX2Qxgit48h3hQcY=
|
||||||
github.com/lbryio/lbrycrd.go v0.0.0-20200203050410-e1076f12bf19/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
|
github.com/lbryio/lbrycrd.go v0.0.0-20200203050410-e1076f12bf19/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
|
||||||
github.com/lbryio/lbryschema.go v0.0.0-20190428231007-c54836bca002/go.mod h1:dAzPCBj3CKKWBGYBZxK6tKBP5SCgY2tqd9SnQd/OyKo=
|
github.com/lbryio/lbryschema.go v0.0.0-20190428231007-c54836bca002/go.mod h1:dAzPCBj3CKKWBGYBZxK6tKBP5SCgY2tqd9SnQd/OyKo=
|
||||||
github.com/lbryio/lbryschema.go v0.0.0-20190602173230-6d2f69a36f46 h1:LemfR+rMxhf7nnOrzy2HqS7Me7SZ5gEwOcNFzKC8ySQ=
|
github.com/lbryio/lbryschema.go v0.0.0-20190602173230-6d2f69a36f46 h1:LemfR+rMxhf7nnOrzy2HqS7Me7SZ5gEwOcNFzKC8ySQ=
|
||||||
|
|
Loading…
Reference in a new issue