Skip to content

Semester Plans

kstola2 edited this page Jul 17, 2019 · 11 revisions

Phase 2

Discover peers

Block query

  • Block query endpoint
  • Block to JSON
  • Block from JSON
  • Block query by height request
  • Block query by height handler
  • Block query by height response handler
  • Block query by hash request
  • Block query by hash handler
  • Block query by hash response handler
  • Add block query handler to main
  • Blockchain Synchronization
  • Add synchronization to main

Block validation

  • Compare versions, check height, previous hash; check timestamp to be greater than previous block
  • Make table of all producers with last time they made a block in metadata.db
  • Check timestamp to be >= time elapsed since candidate last made the block
  • Function: Given a list of hashes, and a merkle hash validate the merkle hash from the list
  • Validate each contract, adding it to the merkle-validation list
  • Minting done here

Endorsement

  • Endorsement endpoint
  • Endorsement request
  • Endorsement handler
  • Endorsement response handler
  • Add endorsement request to main
  • Add endorsement handler to main

Height API

  • Height endpoint
  • Height request
  • Height handler
  • Height response handler
  • Add height request command to client
  • Add height handler to main

Email Notification API

  • Email notification endpoint
  • Email notification registration request
  • Email notification table added to accounts database
  • Email notification registration handler
  • Add email notification functionality to block production

Contract History

  • Contract history JSON file added for client
  • Write to contract history
  • Add to client main

Wallet GUI

Window

  • Make a window

Info

  • Display wallet address
  • Display balance
  • Display state nonce

Sync wallet

  • Sync endpoint
  • Sync button
  • Sync request
  • Sync response handler

Send Aurum

  • Send endpoint
  • Wallet address text box
  • Balance text box
  • Send button
Clone this wiki locally