adrianmcli / adrianmcli/simple-js-blockchain
Finish functions for an actual blockchain
- Ngôn ngữ chính
- JavaScript
- Star
- 6
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.