-
Notifications
You must be signed in to change notification settings - Fork 39
Network integration for cardano-node 10.7
#1819
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
base: main
Are you sure you want to change the base?
Conversation
f020af8 to
49cd4cb
Compare
2f2d063 to
2e1436c
Compare
2ca3ec3 to
956b131
Compare
46a5db2 to
4614065
Compare
fb37549 to
432f587
Compare
|
@copilot review the changes per package and compose changelog items for every package. |
cardano-node 10.7cardano-node 10.7
432f587 to
c9a1aae
Compare
| - New `CardanoNodeToClientVersion19` | ||
| - New `ShelleyNodeToClientVersion15` |
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.
Maybe make this a bit more verbose, I wrote it that way to just give a skeleton but I didn't mean to write it this succint in the changelog 😄
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.
I've looked at other similar items and updated this one accordingly.
| GenesisPoint -> k (pure Nothing) | ||
| (BlockPoint targetSlot (SomeHashableBlock _ targetHash)) -> do | ||
| case (cast targetHash :: Maybe (HeaderHash blk)) of | ||
| Nothing -> error "impossible! Distinct (HeaderHash blk) types" |
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.
Why do we need an existential for SomeHashableBlock?
bbbdefc to
9962633
Compare
f9f7f24 to
9e9fadd
Compare
| , testProperty "GenTx.txWireSize.txSubmission" (prop_txWireSize_txSubmission testCodecCfg) | ||
| , testProperty "GenTx.txWireSize.tight" (prop_txWireSize (const Nothing) testCodecCfg) |
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.
Same as others 😄
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.
Done
|
|
||
| - Added `txLogicTracer` and `txCountersTrace` to `Tracers'`. | ||
| - Added `rnTxSubmissionLogicVersion` and `rnTxSubmissionInitDelay` fields to `RunNodeArgs`. | ||
| - Added new `getTxChannelsVar`, `getSharedTxStateVar` and `getTxMempoolSem` variables to `NodeKernel`. |
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.
| - Added new `getTxChannelsVar`, `getSharedTxStateVar` and `getTxMempoolSem` variables to `NodeKernel`. | |
| - Added new `getTxChannelsVar`, `getSharedTxStateVar` and `getTxMempoolSem` fields to `NodeKernel`. |
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.
addressed
| , blockFetchPipeliningMax = 10 | ||
| , txSubmissionMaxUnacked = 1000 -- TODO ? | ||
| , txDecisionPolicy = | ||
| defaultTxDecisionPolicy{maxUnacknowledgedTxIds = 1000} -- 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.
Who introduced this TODO? Is it still relevant?
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.
@coot do you think it would be OK to remove this TODO?
|
Please apply this patch that modifes the build-depends to remove the unnecessary curly braces |
ac06030 to
ce178b5
Compare
The new method leverages a corresponding method recently exposed by ledger side to provide encoded transaction sizes to eg. diffusion layer. - Integrate new tx submission protocol - txWireSize: Byron txs overhead We need to add 2 bytes overhead for `EncCBOR (AMempoolPayload ByteString)`. See: https://github.com/IntersectMBO/cardano-ledger/blob/cardano-ledger-byron-1.1.0.0/eras/byron/ledger/impl/src/Cardano/Chain/MempoolPayload.hs#L73-L81 - txWireSize: wrapCBORinCBOR overhead for Shelley txs - Take into account the overhead of `wrapCBORinCBOR`. - txWireSize: added overhead for HardFork txs - Added HFC overhead. This overestimates it, if the HFC is disabled. - txWireSize: added tests - Use txWireSize when computing tx-sizes for ouroboros-network Co-Author: Armando Santos <[email protected]> Co-Author: Marcin Szamotulski <[email protected]> Co-Author: Marcin Wójtowicz <[email protected]>
amend todo
[wip] bump network
ce178b5 to
ff3072d
Compare
This PR:
ouroboros-netowork-24and a little bit beyond.kes-agent-1.1. Removes the s-r-p onkes-agentrepository.