+ remove peers who do not meet the minimum score

* minor bug fixes and documentation improvements
* do not cleanup peers if we have no online peers (probably not
connected anyway)
* do not run peer cleanup until a min
* do not spam block list on shutdown during block sync
* use correct thread decrement in peerCleanup
* added trust int to address table, not used yet
This commit is contained in:
Kevin Froman 2018-08-03 01:28:26 -05:00
parent 032aa780ef
commit 8694ab078e
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
4 changed files with 27 additions and 11 deletions

View file

@ -200,7 +200,8 @@ class Core:
powValue text,
failure int,
lastConnect int,
lastConnectAttempt int
lastConnectAttempt int,
trust int
);
''')
conn.commit()