Add updated structure for response api call based on SDK 38 release. #61
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry.go#61
Loading…
Reference in a new issue
No description provided.
Delete branch "go_sdk38_client_updates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Naming this something like
ClaimMeta
would be beneficialMy streaming tests using this code seem to be passing well, thanks 👍
I would, but I think it more valuable to align with the response from the SDK which uses
meta
. All of these fields map to the SDK response. @eukreign why the namemeta
instead of something likeclaim_meta
? I think @sayplastic has a point. Just curious.In JSON it's
meta
because it's already inside of the claim value, so it would be redundant to sayclaim
. Since you're working with a flatter namespace you should definitely call it ClaimMeta here to not be ambiguous.@tiger5226 @sayplastic Also, just fyi, the metadata is sent from wallet server to the client via this protobuf, which is called
ClaimMeta
: https://github.com/lbryio/types/blob/master/v2/proto/result.proto#L22LGTM
int? are you sure?
I based it off of a different timestamp elsewhere. I checked and you had added that timestamp. So the real question is..."are you sure?". #ITrustNiko
that value comes directly from the blockchain header file, it's a 32 bit unsigned integer:
https://en.bitcoin.it/wiki/Protocol_documentation#Block_Headers
okay, the default is 32bit in go so we're good. Not unsigned but not a big deal.