-
Notifications
You must be signed in to change notification settings - Fork 171
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
OrderedTxPool rework #1958
base: master
Are you sure you want to change the base?
OrderedTxPool rework #1958
Conversation
Very interesting line of work, I mean elimination of I think the next step is to merge "WeightedTxId" and "UnconfirmedTransaction" by moving fee into UnconfirmedTransaction and also put txSize there, then |
@jellymlg I think it makes sense to rework |
@kushti Having ModifierId as key in TreeMap means it cant be sorted by weight, only id |
These tests were run with avg case generator (Random.shuffle tx order) and Xmx8G |
# Conflicts: # src/main/scala/org/ergoplatform/mining/CandidateGenerator.scala # src/main/scala/org/ergoplatform/network/ErgoNodeViewSynchronizer.scala # src/main/scala/org/ergoplatform/nodeView/state/UtxoStateReader.scala # src/test/scala/org/ergoplatform/mining/ErgoMinerSpec.scala # src/test/scala/org/ergoplatform/nodeView/NodeViewSynchronizerTests.scala # src/test/scala/org/ergoplatform/nodeView/mempool/ErgoMemPoolSpec.scala
Eliminated transactionsRegistry to simplify the code
Closes #1952