def initialize():
    monitoring.log('log.Start the blockchain initialization process...')
    file_controller.remove_all_transactions()
    file_controller.remove_all_blocks()
    file_controller.remove_all_voting()
    monitoring.log('log.Complete the blockchain initialization process...')
    set_peer.init_myIP()
def initialize():
    logging.info('Start the blockchain initialization process...')
    file_controller.remove_all_transactions()
    file_controller.remove_all_blocks()
    file_controller.remove_all_voting()
    logging.info('Complete the blockchain initialization process...')
    set_peer.init_myIP()
示例#3
0
def initialize_blockdbinfo():
    logging.info('Remove all transactions in mempool')
    file_controller.remove_all_transactions()
    file_controller.remove_all_blocks()
    logging.info('Remove all voting info ')
    file_controller.remove_all_voting()