Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Merge requests
  • !224

Merged
Created Jun 26, 2023 by Pablo Luis Lara Garcia@pablonMaintainer

14.0.4 Release

  • Overview 0
  • Commits 6
  • Pipelines 2
  • Changes 10

Version 14.0.4 includes the following changes:

It resolves a issue where the client would get stuck during signbypayer registration transactions. This issue would occur when syncing past blocks, during the validation process of the NFT registration transaction.

The problem stemmed from the inability to find the spending transaction in the blockdisk or mempool, as it was located in the same block being verified.

The solution involves a unique case for 'signbypayer'. When the transaction is not found in the blockdisk or mempool, the system should search within the block being verified. To do this, it is necessary to send a reference to the current block.

For this search, I have created the following function, which returns a reference to the spending transaction:

bool FindTransactionInBlock(const CBlock& block, const uint256& txToFind, CTransaction &tx) { for (int i = 0; i < (int) block.vtx.size(); i++) { const CTransaction &txi = block.vtx[i]; if (txi.GetHash() == txToFind) { tx = txi; return true; } } return false; }

Furthermore, the new version resolves dependency issues in GitLab CI/CD. All builds are now fully functional again.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pablon