adrianmcli / adrianmcli/simple-js-blockchain

Finish functions for an actual blockchain

Aberta
#3 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
6
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Need quite a few more functions in order to make this an actual functional blockchain.

- [ ] fn: add a transaction to the current head block
- [ ] fn: mine the current head block and attach a new blank block as head
- [ ] fn: return current head block
- [ ] fn: get current head block hash
- [ ] fn: get entire block chain

Note that I may also want to store the entire blockchain in a JS object keyed by its hash. The block head can be stored separately, since it is not yet complete and needs to be filled with transactions before being mined.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.