-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In RPC, use RPCTransactions and RPCBlocks instead of TransactionMessages and BlockMessages #1609
Conversation
Codecov Report
@@ Coverage Diff @@
## v0.10.0-dev #1609 +/- ##
===============================================
- Coverage 60.41% 60.32% -0.10%
===============================================
Files 533 533
Lines 20687 20702 +15
===============================================
- Hits 12499 12489 -10
- Misses 6233 6255 +22
- Partials 1955 1958 +3
Continue to review full report at Codecov.
|
# Conflicts: # infrastructure/network/netadapter/server/grpcserver/protowire/rpc.pb.go # infrastructure/network/netadapter/server/grpcserver/protowire/rpc.proto
…d protowire.RpcTransaction.
app/appmessage/domainconverters.go
Outdated
} | ||
} | ||
|
||
// RPCBlockToDomainBlock converts RPCBlocks to DomainBlocks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RPCBlocks -> RPCBlock, DomainBlocks -> DomainBlock
app/rpc/rpccontext/verbosedata.go
Outdated
Hash: blockHash.String(), | ||
Difficulty: ctx.GetDifficultyRatio(domainBlockHeader.Bits(), ctx.Config.ActiveNetParams), | ||
ChildrenHashes: hashes.ToStrings(childrenHashes), | ||
SelectedParentHash: "", // TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add it
This implements #1247