Question: # 5 pts - This method should loop through all committed and uncommitted blocks and display all transactions in them def display_chain(self): pass # This

# 5 pts - This method should loop through all committed and uncommitted blocks and display all transactions in them def display_chain(self): pass # This method accepts a new transaction and adds it to current block if block is not full. # If block is full, it will delegate the committing and creation of a new current block def add_transaction(self,s,r,v): if self._current_block.get_size(} >= 10: self._commit_block(self._current_block)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
