Kevin Froman
0f8581b399
fixed crash in mail
2018-08-18 14:38:15 -05:00
Kevin Froman
3a666d23e7
disabled site viewer
2018-08-18 10:09:55 -05:00
Kevin Froman
a900c8eb0e
disabled site viewer
2018-08-18 09:40:59 -05:00
Kevin Froman
9655bfd872
* do not reinsert blocks
...
* warn mail about bad sigs
2018-08-17 23:42:30 -05:00
Kevin Froman
cfbc834eb5
* fixed locale issue in docker
...
* fixed uploaded blocks not saving type properly
2018-08-17 16:50:16 -05:00
Kevin Froman
40ea61707f
do not try to download already saved blocks from upload
2018-08-16 23:21:21 -05:00
Kevin Froman
91c1e22324
do not duplicate blacklist entries
2018-08-16 22:30:36 -05:00
Kevin Froman
5b20930d5c
hopefully fixed block sync issue
2018-08-16 19:02:14 -05:00
Kevin Froman
cb90c24e64
added dbcreator
2018-08-16 09:03:59 -05:00
Kevin Froman
06dc97869e
working on preventing replay attacks with block content
2018-08-16 00:01:40 -05:00
Kevin Froman
ba2e5d7da9
ability to create expiring bans
2018-08-14 23:20:08 -05:00
Kevin Froman
9f4024104a
work on peer blacklisting/profiling\nupdated readme
2018-08-14 00:02:34 -05:00
Kevin Froman
a4c86630cf
reduced peer score minimum, blacklist peers
2018-08-13 15:07:14 -05:00
Kevin Froman
aab7d4296f
improved blacklisting
2018-08-12 22:48:33 -05:00
Kevin Froman
5f21d15cdd
+ blocks can now be blacklisted
...
* Peers sync a little better
2018-08-11 00:23:59 -05:00
Kevin Froman
12d39393b4
* cache pip requirements in dockerfile
...
* import blacklist into core
+ began work on blacklist command
* work on blacklist module
* modified dockerignore
2018-08-10 17:13:58 -05:00
Kevin Froman
1e37684163
work on blacklisting data
2018-08-10 02:03:49 -05:00
Kevin Froman
be77e02835
added missing logger import
2018-08-08 20:48:31 -05:00
Kevin Froman
bc95d8855d
+ added POW announce for node (now POST)
...
* fixed bug where core hsAddress was not available on first startup
2018-08-08 14:26:02 -05:00
Kevin Froman
0ae052336c
+ onionr now introduces automatically
...
+ added daemon tools file
+ added .dockerignore
2018-08-07 02:31:53 -05:00
Kevin Froman
1ae2725319
improved onionr startup and port binding
2018-08-06 02:50:08 -05:00
Kevin Froman
2fd387eeb8
Merge branch 'node-profiling' of gitlab.com:beardog/Onionr into node-profiling
2018-08-05 01:36:27 -05:00
Kevin Froman
2907471b5f
* always check needed config on startup
...
+ added Dockerfile
2018-08-05 01:35:49 -05:00
Arinerron
d30069d796
Quick bug fix
2018-08-04 21:16:42 -07:00
Arinerron
e2abf5f046
Onionr UI updates
2018-08-04 21:09:33 -07:00
Kevin Froman
307fbf235a
use socks4a
2018-08-04 00:50:07 -05:00
Arinerron
60a1d36b3a
misc updates
2018-08-03 20:47:56 -07:00
Arinerron
31f8d92af7
Fix annoying bug
2018-08-03 20:47:22 -07:00
Arinerron
0b77a88e72
Improve UI
2018-08-03 19:52:45 -07:00
Kevin Froman
0a2fe2a0b1
* punish peers that share invalid blocks
...
* fixed profile crash
2018-08-03 15:01:13 -05:00
Kevin Froman
8694ab078e
+ 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
2018-08-03 01:28:26 -05:00
Kevin Froman
032aa780ef
* fixed bug causing onionr to usually only have 1 peer at once
...
* do not crash when loading new peer profile
* removed code for defunct *address* proof of work
+ added maxStoredPeers and maxConnect config options (TODO)
+ added lastConnectAttempt to address db
+ added command to cause instant peer exchange
+ added connectCheck.txt for TODO connection testing
2018-08-02 15:18:01 -05:00
Kevin Froman
8bb5014d41
work on peer cleanup
2018-08-02 02:28:26 -05:00
Kevin Froman
d22701199c
* work on peer profiling
...
* block exchange order
* edited disclaimer html
* began working on peerCleanup
2018-08-01 02:22:22 -05:00
Kevin Froman
c4f2327e49
removed accidental hardcode test in onionrpeers
2018-07-31 00:34:16 -05:00
Kevin Froman
34a970d008
Merge branch 'node-profiling' of gitlab.com:beardog/Onionr into node-profiling
2018-07-31 00:28:41 -05:00
Kevin Froman
36c2581cec
do not spam dbhash
2018-07-31 00:28:10 -05:00
Arinerron
ce8800652d
www/ui/ -> ui/
2018-07-30 22:02:01 -07:00
Arinerron
8e01063f94
Move to www
2018-07-30 21:54:17 -07:00
Arinerron
ddb3ce1e35
Various bug fixes
2018-07-30 21:41:32 -07:00
Aaron
34b919d324
Add stuff to readme
2018-07-31 00:14:42 +00:00
Kevin Froman
4decda916d
peers scores are now calculated on request success and are saved, WIP
2018-07-30 17:48:29 -05:00
Arinerron
88df88204c
Add files
2018-07-29 17:43:28 -07:00
Arinerron
215fbcba68
Add web api callbacks
2018-07-29 17:37:12 -07:00
Kevin Froman
d90be83776
work on new whitepaper
2018-07-27 18:04:30 -05:00
Kevin Froman
d39208d648
added static dir and serving for web ui
2018-07-27 00:48:22 -05:00
Kevin Froman
afdee2a7a5
work on new peer profiling system
2018-07-26 22:07:50 -05:00
Kevin Froman
5f1a02e42d
upload to multiple peers
2018-07-23 15:23:32 -05:00
Kevin Froman
ca122dc1ba
upload to multiple peers
2018-07-23 15:04:36 -05:00
Kevin Froman
0beffab96e
+ added blockimporter.py
...
* removed outdated direct connection handler
2018-07-23 02:45:48 -05:00
Kevin Froman
71007a2d0a
+ added reverse block insertion
...
* handle downloading of blocks better when peer goes offline
* bumped default disk allocation
* added post request util
2018-07-23 02:43:10 -05:00
Kevin Froman
8e1b6e1e7e
added forcedifficulty
2018-07-21 19:20:28 -05:00
Kevin Froman
862b609687
* reduce spam
...
* another bytes fix for old python
2018-07-19 22:02:09 -05:00
Kevin Froman
ee7e4289f1
Fixed thread exhaustion for address sync
2018-07-19 17:32:21 -05:00
Kevin Froman
1c80849c38
do not attempt block decryption in metadata processing if it is not encrypted
2018-07-19 16:31:48 -05:00
Kevin Froman
85fdcab534
fixed bytes on new pow in older python versions
2018-07-19 15:12:48 -05:00
Kevin Froman
0f69bfd295
fixed bytes issue with new pow and older python
2018-07-19 14:46:13 -05:00
Kevin Froman
3b04771eb7
finished inbox and signature validation for private messages
2018-07-19 02:08:51 -05:00
Kevin Froman
732fe70ff4
Merge branch 'refactoring2' into new-pm
2018-07-18 02:36:40 -05:00
Kevin Froman
2a4cef68f8
* onionrblockapi supports pubkey encryption now
...
* can now read messages in mail plugin
2018-07-18 02:33:23 -05:00
Arinerron
40341b1dc3
Misc updates
2018-07-17 21:45:51 -07:00
Kevin Froman
7390945ebf
work on mail plugin inbox
2018-07-17 02:18:17 -05:00
Kevin Froman
f432d9193e
+ implemented some menus and message drafting in pm plugin
...
* prevent block types from being too large in metadata processing
2018-07-16 02:40:58 -05:00
Kevin Froman
f42d308b2b
- removed gui for now
...
* work on new pm plugin
2018-07-13 21:43:03 -05:00
Kevin Froman
40255538da
reworking PM system before migration to plugin and updating blockapi to encryption format
2018-07-13 16:02:41 -05:00
Kevin Froman
4ba1bd3513
Merge branch 'master' into refactoring2
2018-07-13 01:19:18 -05:00
Kevin Froman
6bf679d107
fixed add-peer
2018-07-13 01:14:09 -05:00
Kevin Froman
ab65f5ea95
removed old communicator
2018-07-12 23:57:03 -05:00
Kevin Froman
db203290dd
handle keyboardinterrupt better in flow
2018-07-12 18:23:58 -05:00
Kevin Froman
865bc94ccb
+ flow plugin is now working
...
+ added escapeAnsi function to utils
2018-07-12 02:37:10 -05:00
Kevin Froman
d879383a8a
work on new flow plugin and block metadata caching
2018-07-11 14:45:38 -05:00
Kevin Froman
f918ae9b9c
started work on flow plugin
2018-07-11 02:35:22 -05:00
Kevin Froman
ba1b154f52
fixed bug where new communicator would download blocks it already has
2018-07-10 02:29:17 -05:00
Kevin Froman
7cf4cd9862
more bytes issues
2018-07-10 02:20:32 -05:00
Kevin Froman
e0618f3166
use var instead of direct call in hash comparison in block sync
2018-07-10 02:15:55 -05:00
Kevin Froman
2c70531a51
fixed invalid bytes concat when hash is invalid on some versions
2018-07-10 02:11:58 -05:00
Kevin Froman
33787ef39d
* fixed broken block metadata validation, incorrect time integer check and missing size value for encryptType
2018-07-10 01:17:30 -05:00
Kevin Froman
9083775887
* do not report inserted message if keyboard interrupt/failure
...
* do not crash on keyboard interrupt in pow
2018-07-09 22:09:45 -05:00
Kevin Froman
b3b5e5bb50
+ re-added old pow system as a different class for things like ed25519 keys
...
* no longer run communicator threads if they need peers and we have none connected
2018-07-09 02:02:33 -05:00
Kevin Froman
f027202ac9
* Pretty much done with new POW format
2018-07-08 02:51:23 -05:00
Kevin Froman
31236eea84
hopefully issues with keyboardinterrupt
2018-07-07 19:26:01 -05:00
Kevin Froman
8727dc2241
Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2
2018-07-07 19:03:46 -05:00
Arinerron
bdb9fa8cc4
Misc updates
2018-07-05 21:27:12 -07:00
Kevin Froman
06986d2703
* now use communicator2 by default
...
* fixed shutdown command crash
* now handle shutdown of api in communicator
* work on new POW system (block hash being the POW hash)
2018-07-05 02:31:47 -05:00
Arinerron
c083d54abb
Merge branch 'refactoring2' of https://gitlab.com/beardog/onionr into refactoring2
2018-07-04 12:07:27 -07:00
Arinerron
bd3a3bfeed
Fix type bug
2018-07-04 12:07:17 -07:00
Kevin Froman
bd819a3ba6
* fixed validateMetadata not having self
...
+ added isIntegerString
* other fixes
2018-07-04 13:49:43 -05:00
Kevin Froman
80648cc920
added kex command
2018-07-03 18:44:12 -05:00
Kevin Froman
6f761aaeff
do not have linebreak in own hsaddr
2018-07-03 16:27:42 -05:00
Kevin Froman
58110e461e
improving new communicator bootstrapping, do not connect to self
2018-07-03 16:24:14 -05:00
Kevin Froman
267220ad72
only attempt announce with online peers
2018-07-03 14:26:53 -05:00
Kevin Froman
f1c8c8b843
* changed how new communicator uses bootstrap (untested)
...
+ added function to calculate human readable strings from hex
2018-07-03 03:18:07 -05:00
Kevin Froman
efb049fddd
fixed indent in test
2018-07-02 16:20:19 -05:00
Kevin Froman
3a7cefbf53
* do not fail localCommand if host file does not exist
...
* disabled plugin tests
2018-07-02 16:15:59 -05:00
Kevin Froman
75bb8a11bd
do not fail on plugin import
2018-07-02 16:08:47 -05:00
Kevin Froman
45234588e2
* fixed broken insertblock with bytes
...
* some work on improving tests
* temporarily disabled testblockapi test
2018-07-02 03:13:18 -05:00
Kevin Froman
f5bd9220fc
improved communicator2 comments
2018-07-01 23:04:14 -05:00
Kevin Froman
5c49f544fe
documented communicator2 better and bootstrap better
2018-07-01 16:01:19 -05:00
Kevin Froman
a2ad90f2b9
fixed invalid conn commit
2018-06-30 22:38:57 -05:00
Kevin Froman
92b0ad975f
+ Now log running seconds in heartbeat
...
* Do not spam "could not connect to any peer" if we have a peer connected
2018-06-26 00:26:01 -05:00