Files
p2p-rendering-computation/Simulation/test.py
2025-04-29 23:28:33 +01:00

15 lines
332 B
Python

from library import *
if __name__ == "__main__":
P2PRCNodes = ListNodes()
# Print nodes in the network
print(P2PRCNodes)
# Add custom information to the network
if AddCustomInformation("Test"):
print("It worked")
if AddRootNode("0.0.0.0", "8081"):
print("It worked for adding root node")