We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This might have to wait on converting to ES6 modules.
The text was updated successfully, but these errors were encountered:
More details:
The Block and Transaction classes have been made configurable in order to make SpartanGold more extensible.
However, that means the these classes must be specified, even if the default implementations are perfectly fine.
Here is how driver.js currently creates the genesis block:
// Creating genesis block let genesis = Blockchain.makeGenesis({ blockClass: Block, transactionClass: Transaction, clientBalanceMap: new Map([ [alice, 233], [bob, 99], [charlie, 67], [minnie, 400], [mickey, 300], ]), });
Instead, it should look like:
// Creating genesis block let genesis = Blockchain.makeGenesis({ clientBalanceMap: new Map([ [alice, 233], [bob, 99], [charlie, 67], [minnie, 400], [mickey, 300], ]), });
Sorry, something went wrong.
No branches or pull requests
This might have to wait on converting to ES6 modules.
The text was updated successfully, but these errors were encountered: