Skip to content
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

For issue #2174 #2177

Open
wants to merge 2 commits into
base: v5.0.25
Choose a base branch
from
Open

For issue #2174 #2177

wants to merge 2 commits into from

Conversation

zackbalbin
Copy link

Added lastMempoolUpdate to /info route
Created /transactions/unconfirmed/transactionIds route
Created /transactions/unconfirmed/byTransactionIds route

@kushti
Copy link
Member

kushti commented Aug 6, 2024

@zackbalbin nice, will review this week. Could be included into 5.0.24 though, as .23 is finalized. Attached a bounty to the issue

@@ -97,6 +97,7 @@ class ErgoMemPool private[mempool](private[mempool] val pool: OrderedTxPool,

def put(txs: TraversableOnce[UnconfirmedTransaction]): ErgoMemPool = {
txs.foldLeft(this) { case (acc, tx) => acc.put(tx) }
this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line rewrites foldLeft results. Probably should be removed

@kushti
Copy link
Member

kushti commented Aug 23, 2024

@zackbalbin looks good now, have you tested it? And please remove ByteUtils.class

@kushti kushti changed the base branch from master to v5.0.24 September 12, 2024 19:50
@kushti kushti changed the base branch from v5.0.24 to v5.0.25 October 11, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants