func (db *DB) PrintRoutingTable() {
	//Get all entries in the routing stack and print them
	routingEntries := db.routingEntriesStack.peekFromBlock(genesisBlock)

	for n, entry := range routingEntries {
		fmt.Println("Entry #:", n)
		fmt.Println("Destination:", net.IP(entry.destination[:]).String())
		fmt.Println("Next Hop:", net.IP(entry.nextHop[:]).String())
		fmt.Println("Capacity:", entry.capacity)
		fmt.Println("Update Height:", entry.height)
	}
}
//PrintRoutingTable prints the routing table stored by this node
PrintRoutingTable prints the routing table stored by this node
// PrintRoutingTable prints the routing table stored by this node
func (db *DB) PrintRoutingTable() {
	routingEntries := db.routingEntriesStack.peekFromBlock(genesisBlock)
	for n, entry := range routingEntries {
		fmt.Println("Entry #:", n)
		fmt.Println("Destination:", net.IP(entry.destination[:]).String())
		fmt.Println("Next Hop:", net.IP(entry.nextHop[:]).String())
		fmt.Println("Capacity:", entry.capacity)
		fmt.Println("Update Height:", entry.height)
	}
}
func ( db * DB ) PrintRoutingTable ( ) { routingEntries := db . routingEntriesStack . peekFromBlock ( genesisBlock ) for n , entry := range routingEntries { fmt . Println ( " " , n ) fmt . Println ( " " , net . IP ( entry . destination [ : ] ) . String ( ) ) fmt . Println ( " " , net . IP ( entry . nextHop [ : ] ) . String ( ) ) fmt . Println ( " " , entry . capacity ) fmt . Println ( " " , entry . height ) } }
PrintRoutingTable prints the routing table stored by this node
PrintRoutingTable prints the routing table stored by this node
//Get all entries in the routing stack and print them