Skip to content

Conversation

@sergimima
Copy link

No description provided.

Franziska-Mueller and others added 30 commits July 8, 2025 17:11
This reverts commit fc473bd.
…vent-time-point-custom-mining

Multiple event time points for full custom mining.
baoLuck and others added 30 commits October 6, 2025 01:17
…d-output-params-to-qbondtable

Add two output parameters to qbond table
- The links can have the prefix https://github.com/, leaving the flexibility of the organization's name.

- GetPollsByCreator can also return inactive polls
Release v1.263.0
- Custom mining: remove obsolete code related to 32 bits nonce and support oc-verifier with 64 bits nonce
- QUTIL general voting: change github link requirement and also return inactive polls in GetPollsByCreator
- QBOND: fix output of GetMBondsTable function
- Fix broken gtest
- Some minor cleanups
Co-authored-by: Philipp Werner <22914157+philippwerner@users.noreply.github.com>
* added txs pool class

* polishing txsPool class

* using txsPool in qubic.cpp

* fix test project

* adding tests

* removing static from operator() to fix efi build

* rename operator() to be able to make it static

* use allocPoolWithErrorLog for allocating txsPool buffers

* also log tick number for getNumberOfTickTxs and getNumberOfPendingTxs

* add additional log if adding tx fails

* change order of locks in TxsPool::update to avoid dead lock

* disable some debug output

* remove test filter, edit comments

* fix vcxproj filters

* add "pending" to TxsPool variables and functions to make meaning clearer

* adapt test names

* limited number of ticks for pending tx, ring buffers, simple txs buffer

* adapt tests to new version

* add txs priorities

* add and adapt tests

* change txsPriorities to ptr

* add test for duplicate txs

* cleanup tx priorities: use for instead of while

* add extra lock for txsPriorities

* add locks in IncrementFirstStoredTick

* max priority for protocol-level txs

* define num ticks for pending txs pool as 10 mins, add next power of 2 function to calc Collection capacity

* only use one lock for PendingTxsPool

* only save NUMBER_OF_TRANSACTIONS_PER_TICK - 2 txs in PendingTxsPool to leave room for protocol-level txs

* use src balance for priority instead of amount
* Enhance RandomLottery: transfer invocation rewards on ticket purchase failures

* Fixes increment winnersInfoNextEmptyIndex

---------

Co-authored-by: Philipp Werner <22914157+philippwerner@users.noreply.github.com>
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.