From Udacity:
Create your own private blockchain as you learn to architect a blockchain data model. The focus will be on the development of a private chain of blocks which is cryptographically secure and immutable.
Supporting courses:
- Blockchain Data
- Node
- Node Package Manager (npm)
npm install
This codebase contains some quick integration tests. To test you will need to populate a test blockchain, uncomment the lines you wish to test in the provided test files, and then run the test files.
node tests/integration/populateTestBlockchain.js
node tests/integration/testBlockchain.js
node tests/integration/testBlockchainData.js
This codebase adheres to the Airbnb JavaScript/React/JSX Style Guide
├── README.md
├── index.js
├── original_files
│ ├── levelSandbox.js
│ └── simpleChain.js
├── package.json
├── src
│ ├── block.js
│ ├── blockchain.js
│ └── blockchainData.js
└── tests
└── integration
├── populateTestBlockchain.js
├── testBlockchain.js
└── testBlockchainData.js
4 directories, 11 files
Criteria | Highest Grade Possible | Grade Recieved |
---|---|---|
Configure LevelDB to persist dataset | Meets Specifications | Meets Specifications |
Modify simpleChain.js functions | Meets Specifications | Meets Specifications |
Modify validate functions | Meets Specifications | Meets Specifications |
Modify getBlock() function | Meets Specifications | Meets Specifications |
Modify getBlockHeight() function | Meets Specifications | Meets Specifications |