skip python 3
ported to python 3, fixed deprecation warnings
Fixes: #1754
fixed absolute imports
corrected test for _reset()
few changes
fixed some issues in test_reset() & bmconfigparser
fixed code quality
modified test case for _reset()
fixed test case of _reset() for py3
fixed compatibilty with python2
fixed code quality
changed _reset test
added test_config file & fixed test case for reset()
fixed for python3
removed pdb
few changes
added config dict
fixed code quality
fixed code quality
fixed code quality
fixes for focal & bionic build error
added print thread name
commented test_reset()
added some print to debug, will remove later
fixed code quality
added setUp & tearDown method
added docstring
modified code
fixed code quality
modified setUp() & tearDown() method
few changes in tearDown()
cleaned code
Added PEP8 imports blank line & moved test_config.ini to test_pattern folder
Added BMConfigParser.safeGetFloat method, updated BMConfigDefaults & added specific exceptions
Added test for safeGetFloat, removed float parsing & updated logger warning
Reverted get to safeGetFloat changes
- dandelion fixes
- try to wait as long as possible before expiration if there are no
outbound connections
- expire in invThread rather than singleCleaner thread
- deduplication of code in inv and dinv command methods
- turn on by default, seems to work correctly now
- turn off dandelion if outbound connections are disabled
- start tracking downloads earlier, and faster download loop
- remove some obsolete lines
- minor PEP8 updates
- allow loopback addresses, now you can bind different loopback IP
addresses on a single system and they will auto-cross-connect
- always listen for discovery on 0.0.0.0
- [network] - bind now also applies for the TCP socket as well as UDP
socket
- closing socket iterator fix
- a new config file option, network/acceptmismatch, allows the inventory
to store objects that expired or are from a stream we're not
interested in. Having this on will prevent re-requesting objects that
other nodes incorrectly advertise. It defaults to false
- asyncore is now on by default
- inv announcements implemented
- bandwidth limit implemented / fixed
- stats on download / upload speed now work
- make prints into logger
- limit knownNodes to 20k as it was before
- green light fixed
- other minor fixes
- bugfixes
- UDP socket for local peer discovery
- new function assembleAddr to unify creating address command
- open port checker functionality (inactive)
- sendBigInv is done in a thread separate from the network IO
thread
- bmconfigpaser.py now allows to put default values for a specific
option in the file
- addresses as sections are now detected by "BM-" rather than
just ignoring bitmessagesettings. There can now be other sections
with a cleaner config file
- maxtotalconnections = maximum number of total full connections
(incoming + outgoing) the node will allow. Default 200 as it was.
- maxbootstrapconnections = number of additional (to total) connection
that will act in bootstrap mode, closing after sending the list of
addresses. Default 20 as it was.
- maxaddrperstreamsend = initial address list maximum size, per
participating stream. Default 500. Child streams get half. The
response is chunked into pieces of max. 1000 addresses as that's the
protocol limit.