Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Review unit test coverage of blocks modules #1301

Closed
66 tasks done
karmacoma opened this issue Jan 14, 2018 · 2 comments
Closed
66 tasks done

Review unit test coverage of blocks modules #1301

karmacoma opened this issue Jan 14, 2018 · 2 comments

Comments

@karmacoma
Copy link
Contributor

karmacoma commented Jan 14, 2018

Parent: #1169


  • api (Add unit test coverage for modules blocks.api #1395 )
    • constructor
    • __private.list
    • getBlocks
    • onBind
  • chain (Add unit test coverage for modules blocks.chain #1549)
    • constructor
    • saveGenesisBlock
    • saveBlock
    • __private.afterSave
    • deleteBlock
    • deleteAfterBlock
    • applyGenesisBlock
    • __private.applyTransaction
    • applyBlock
    • broadcastReducedBlock
    • __private.popLastBlock
    • deleteLastBlock
    • recoverChain
    • onBind
  • process (Add unit test coverage for modules blocks.process #1483 )
    • constructor
    • __private.receiveBlock
    • __private.receiveForkOne
    • __private.receiveForkFive
    • getCommonBlock
    • loadBlocksOffset
    • loadBlocksFromPeer
    • generateBlock
    • __private.validateBlockSlot
    • onReceiveBlock
    • onBind
  • utils (Add unit test coverage for modules blocks.utils #1449 )
    • constructor
    • readDbRows
    • loadBlocksPart
    • loadLastBlock
    • getIdSequence
    • loadBlocksData
    • getBlockProgressLogger
    • aggregateBlocksReward
    • onBind
  • verify (Add unit test coverage for modules blocks.verify #1598)
    • constructor
    • __private.checkTransaction
    • __private.setHeight
    • __private.verifySignature
    • __private.verifyPreviousBlock
    • __private.verifyAgainstLastNBlockIds
    • __private.verifyVersion
    • __private.verifyReward
    • __private.verifyId
    • __private.verifyPayload
    • __private.verifyForkOne
    • __private.verifyBlockSlot
    • __private.verifyBlockSlotWindow
    • verifyReceipt
    • onBlockchainReady
    • onNewBlock
    • verifyBlock
    • addBlockProperties
    • deleteBlockProperties
    • __private.addBlockProperties
    • __private.normalizeBlock
    • __private.verifyBlock
    • __private.broadcastBlock
    • __private.checkExists
    • __private.validateBlockSlot
    • __private.checkTransactions
    • processBlock
    • onBind
@karmacoma karmacoma changed the title Review test coverage of blocks modules Review unit test coverage of blocks modules Jan 14, 2018
@karmacoma karmacoma added *medium and removed *hard labels Jan 14, 2018
@LucasIsasmendi
Copy link
Contributor

LucasIsasmendi commented Jan 16, 2018

Added task list to description.

@vitaly-t
Copy link
Contributor

vitaly-t commented Feb 2, 2018

We should review state of things with the tests and perhaps make a new list, where all database operations stand on its own, with a separate test file for each database repository that we now have.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants