working-state
Garrett Mills 3 years ago
parent a3c60a1951
commit 71b4fefef7
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -26,6 +26,9 @@ export class Blockchain extends Controller {
}))
}
/**
* Determine whether the current blockchain is valid.
*/
public async validate() {
const blocks = (await this.blockchain.read()).map(x => new Block(x))
return {

Loading…
Cancel
Save