Giter Club home page Giter Club logo

gossip-python's People

Contributors

imtypist avatar thomai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gossip-python's Issues

Config files should use a POSIX style search path

Hey, trying to integrate this into a blockchain project and the configuration file convention is a bit clunky. Ideally there should be a search path set of directories that the application looks through and if it finds none it creates a template in the user space while giving an appropriate warning to the user in the logs.

I plan on addressing this via PR and intend to keep backwards compatibility with config/config.ini convention as well as cross platform support between POSIX and Windows systems.

tests\util\test_byte_formatting.py should give results and be able to run on its own

In the test_short_to_bytes function should add:
print("test_short_to_bytes")
at the beginning and
print(" PASSED")
to the end of the function

Similarly for test_bytes_to_short():
add
print("test_bytes_to_short")
and
print(" PASSED")
to the end.

Finally at the end of the file we should have:
if name == "main":
test_bytes_to_short()
test_short_to_bytes()

Logging.error issue in examples/connections_simulation.py line 170, 171

In examples/connections_simulation.py line 170, 171 when running the example it appears that there are errors:
ERROR:root:dict_keys(['192.168.1.21:1', '192.168.1.27:1', '192.168.1.29:1'])
ERROR:root:192.168.1.2:1
ERROR:root:dict_keys(['192.168.1.3:1', '192.168.1.6:1', '192.168.1.7:1', '192.168.1.11:1'])
ERROR:root:192.168.1.3:1

Looking at the code it has:
logging.error(client.get_ident())
logging.error(client.get_connection_idents())

If this is just working as designed should it be something like:
logging.info(client.get_ident())
logging.info(client.get_connection_idents())

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.