mirror of
				https://github.com/hackku21/loc-chain-backend.git
				synced 2025-06-13 12:53:59 +00:00 
			
		
		
		
	Comment
This commit is contained in:
		
							parent
							
								
									a3c60a1951
								
							
						
					
					
						commit
						71b4fefef7
					
				| @ -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…
	
		Reference in New Issue
	
	Block a user