Kevin Froman
851b2bef76
onionr now waits for a block to be uploaded to share it, unless the node exits
2018-11-13 11:07:46 -06:00
Arinerron
bb08162019
Make Onionr more user friendly
...
This commit mostly just made messages more readable, worked on logger, and fixed a few bugs
2018-11-10 19:25:40 -08:00
Kevin
44d545684a
Merge Tempblocks
2018-11-11 02:10:58 +00:00
Arinerron
22115891f2
Fix annoying peer spamming
2018-11-09 23:22:27 -08:00
Arinerron
548d4ed106
Misc changes
...
- made stuff pretty
- fixed bugs
- refactored stuff
2018-11-09 23:17:19 -08:00
Arinerron
099550fa34
Improve logging by adding sensitive feature
2018-11-09 22:55:34 -08:00
Arinerron
5aaf0f266a
Parameterize all queries, format queries
2018-11-09 22:29:32 -08:00
Arinerron
d5355fdc9e
Merge remote-tracking branch 'origin/tempblocks' into onionrui
2018-11-09 22:13:50 -08:00
Kevin Froman
c0c5061f1e
fixed forward secrecy and delete keys
2018-11-09 13:07:26 -06:00
Kevin Froman
c0707a10f9
fixed offline error
2018-11-08 23:22:43 -06:00
Kevin Froman
6f72e8c06c
better address validation and removed dependency
2018-11-04 17:01:58 -06:00
Kevin Froman
293b36e3ad
mail plugin usable now
2018-11-04 10:06:24 -06:00
Kevin Froman
3764c1a115
fixed bug where process would not die
2018-11-03 22:26:18 -05:00
Kevin Froman
a31a0fd264
removed pubkey pow and bug fixes
2018-11-03 00:06:04 -05:00
Kevin Froman
f270d3c522
work on sentbox
2018-11-02 22:24:14 -05:00
Kevin Froman
f8867fb08e
work on sentbox
2018-11-01 14:32:50 -05:00
Kevin Froman
b1752132cb
work on sentbox
2018-10-31 23:56:59 -05:00
Kevin Froman
58aa8ce1cc
* Increased heartbeat timer
...
* Tried to fix bug where wrong node was being reported as being
announced to
* Refactored core somewhat
- Removed data dir encryption (TODO: just encrypt pub/priv key pair)
- Removed simplecrypt dependency
2018-10-30 17:22:06 -05:00
Kevin Froman
8c63d6c205
work on improving block sync
2018-10-28 14:01:57 -05:00
Kevin Froman
34aa892b65
work on using dynamic/configurable POW
2018-10-28 00:06:18 -05:00
Kevin Froman
4e86604692
handle missing api header
2018-10-27 14:59:15 -05:00
Kevin
c073020b80
Added API check in requests
2018-10-26 22:29:25 -05:00
Kevin Froman
3da06339f6
removed key sync
2018-10-26 18:11:18 -05:00
Kevin Froman
a142e8a752
offline encryption plugin can now decrypt
2018-10-25 19:56:02 -05:00
Kevin Froman
b8644c0441
work on offline decryption and fixed pubkey encrypt bug
2018-10-23 23:54:28 -05:00
Kevin Froman
2c4d086316
reworked offline encryption
2018-10-21 11:21:43 -05:00
Kevin Froman
247ae540f9
reworked offline encryption
2018-10-21 00:07:35 -05:00
Kevin Froman
220fda02ce
half way done with encryption plugin, fixed encryption bug in onionrcrypto when using non anonymous encryption
2018-10-19 00:04:11 -05:00
Kevin Froman
fbd82d38fe
work on foward secrecy
2018-10-09 18:36:52 -05:00
Kevin Froman
c823eecfe3
work on foward secrecy
2018-10-08 00:11:46 -05:00
Kevin Froman
38913b62ce
work on foward secrecy
2018-10-07 21:25:59 -05:00
Kevin Froman
980406b699
work on foward secrecy
2018-10-07 15:39:22 -05:00
Kevin Froman
5606a07757
work on foward secrecy
2018-10-07 00:06:44 -05:00
Kevin Froman
8de7bd16c6
work on foward secrecy
2018-10-06 13:06:46 -05:00
Kevin Froman
15877449f8
bug fixes
2018-10-02 11:45:56 -05:00
Kevin Froman
0b9bb42927
bug fixes and work on fs
2018-10-02 00:02:05 -05:00
Kevin Froman
5f67cc388f
delete expired blocks
2018-09-30 11:53:39 -05:00
Kevin Froman
b344c53563
delete expired blocks
2018-09-29 23:42:31 -05:00
Arinerron
1b193d098b
A few changes, click for details
...
- broke post liking
- added more reliable replie
2018-09-29 20:13:30 -07:00
Kevin Froman
761dc9eb95
use timeouts in sqlite3
2018-09-28 12:29:07 -05:00
Kevin Froman
b5fecdf1e8
logging is less spammy, file disabled by default, and we dont try to scan encrypted blocks that aren't for us
2018-09-26 20:37:52 -05:00
Arinerron
04f89383f7
Parameterize SQL statements
2018-09-26 17:50:54 -07:00
Arinerron
0c9847fbec
Misc changes
2018-09-26 17:40:02 -07:00
Kevin Froman
8dbaac2198
catch signature failure better
2018-09-26 18:40:33 -05:00
Kevin Froman
1a856c365f
work on sockets, added profile setter script
2018-09-25 23:58:11 -05:00
Arinerron
d7392213cb
Slight changes, I forgot
2018-09-24 21:16:51 -07:00
Arinerron
6e55636e78
test
2018-09-24 16:48:00 -07:00
Kevin Froman
8b4105fac4
work on sockets
2018-09-24 17:04:17 -05:00
Kevin Froman
fa701f37dc
work on sockets
2018-09-24 16:21:59 -05:00
Kevin Froman
67b9f6e51f
work on sockets
2018-09-24 16:13:40 -05:00
Kevin Froman
49aae74e72
work on sockets
2018-09-23 21:02:39 -05:00
Kevin Froman
711cf3f2d3
work on sockets
2018-09-23 20:47:27 -05:00
Kevin Froman
ad3d7940f5
work on sockets
2018-09-22 23:53:09 -05:00
Kevin Froman
70e2ccbc0a
work on sockets
2018-09-22 20:21:39 -05:00
Kevin Froman
759da55094
work on sockets
2018-09-22 00:01:17 -05:00
Kevin Froman
4e8f7e2761
work on sockets
2018-09-20 23:47:40 -05:00
Kevin Froman
d3f4e912f9
work on sockets
2018-09-20 12:41:34 -05:00
Kevin Froman
7fa41f31e7
work on sockets
2018-09-20 12:16:37 -05:00
Kevin Froman
2164ded679
work on sockets
2018-09-20 12:15:08 -05:00
Kevin Froman
c2b0277612
work on sockets
2018-09-20 12:07:50 -05:00
Kevin Froman
55879b71a5
work on sockets
2018-09-20 12:05:44 -05:00
Kevin Froman
e826bca19e
work on sockets
2018-09-20 12:04:58 -05:00
Kevin Froman
7baa7d5d5f
work on sockets
2018-09-20 00:13:26 -05:00
Kevin Froman
557afb8d9a
a lot of work on sockets, and added chat module
2018-09-19 23:36:59 -05:00
Kevin Froman
f8b10cfe12
a lot of work on sockets, and added chat module
2018-09-19 23:35:26 -05:00
Kevin Froman
1d7fd65f38
work on sockets
2018-09-17 00:02:16 -05:00
Kevin Froman
620897a2eb
work on sockets
2018-09-15 11:13:03 -05:00
Kevin Froman
d80e72d18c
work on sockets
2018-09-14 23:48:48 -05:00
Kevin Froman
e0fbe2033e
work on sockets
2018-09-14 20:05:25 -05:00
Kevin Froman
ee2a74380b
work on metadata, forward secrecy, and starting on sockets
2018-09-13 12:26:22 -05:00
Arinerron
7738de1c28
Add notifications
2018-09-12 22:30:49 -07:00
Kevin Froman
1c2a8a2f40
work on forward secrecy
2018-09-12 20:23:50 -05:00
Kevin Froman
c4dcd89dfe
+ added methods to import and select new forward secrecy keys
2018-09-11 21:58:51 -05:00
Kevin Froman
d151e0d302
work on forward secrecy
2018-09-11 14:45:06 -05:00
Kevin Froman
ce2423e6d9
* moved metadata processor to its own module
...
* improved some comments
* removed defunct utils functions
2018-09-10 00:02:28 -05:00
Kevin Froman
151b12424c
work on block processing module
2018-09-09 00:12:41 -05:00
Arinerron
0f91bf7018
Add liking feature
2018-09-07 23:45:33 -07:00
Arinerron
9d4675770b
Set a maximum character limit
2018-09-07 22:47:56 -07:00
Kevin
a44d511e1d
bind to random control port
2018-09-07 13:57:20 -05:00
Arinerron
7ec869a36f
Increment version number
2018-09-06 21:57:10 -07:00
Aaron
fd3d18f5b9
Merge branch 'update-onionrui' into 'onionrui'
...
Update onionrui
See merge request beardog/Onionr!9
2018-09-07 04:50:37 +00:00
Arinerron
f10e077896
Make console output less verbose for api
2018-09-06 21:46:56 -07:00
Arinerron
516d965ad3
Add work
2018-09-06 21:37:39 -07:00
Kevin Froman
67be0bebc2
added tor control and stem
2018-09-04 23:06:17 -05:00
Kevin Froman
cf37823fd7
removed board plugin for now, added getfile command
2018-09-04 13:56:05 -05:00
Kevin Froman
c1d4040807
better catch tkinter import
2018-09-03 22:38:08 -05:00
Kevin Froman
0050b60f1a
better catch tkinter import
2018-09-03 22:30:15 -05:00
Kevin Froman
da3e0fdc4e
better catch tkinter import
2018-09-03 22:28:56 -05:00
Kevin Froman
0106721cd0
Merge branch 'user-abstraction' of ssh://192.168.1.101:/home/beardog/onionr into user-abstraction
2018-09-03 22:26:57 -05:00
Kevin Froman
389b1a10ce
merge user-abstraction into webui work
2018-09-03 14:10:59 -05:00
Kevin Froman
ccdf0801a8
Merge branch 'master' into user-abstraction
2018-09-03 10:29:36 -05:00
Kevin Froman
1318bb3ea6
use new gevent version to support python 3.7
2018-09-03 10:28:08 -05:00
Arinerron
ecefa41792
Complete first part of work on onionrui
2018-09-02 22:08:12 -07:00
Arinerron
b01184d151
add logos
2018-09-02 15:44:23 -07:00
Kevin Froman
6b33749b37
adding board plugin
2018-09-02 15:19:27 -05:00
Kevin Froman
8cbc16224d
work on cliui
2018-09-02 15:18:53 -05:00
Kevin Froman
083003191f
work on cliui
2018-09-01 23:55:24 -05:00
Kevin Froman
c142ab770a
work on cliui
2018-09-01 21:59:03 -05:00
Kevin
9fd985ea49
work on the cliui
2018-09-01 15:38:44 -05:00
Kevin
1203bb2b7a
* Adjusted connect configuration
...
* work on cli-ui
2018-08-31 22:29:57 -05:00
Kevin
bed6475e1b
use secrets from dependencies
2018-08-31 19:51:14 -05:00
Kevin Froman
1b16c809fd
work on user connections
2018-08-31 17:53:48 -05:00
Kevin Froman
716fb7335c
removed debug statements
2018-08-29 23:49:28 -05:00
Kevin Froman
6ecb1fa75d
merged config to get up to date
2018-08-29 23:07:11 -05:00
Kevin Froman
53505832cc
preparing for config merge
2018-08-29 23:05:38 -05:00
Kevin Froman
f4cc1a6f8f
updated dockerfile, fixed bug in showing name in mail
2018-08-28 22:02:32 -05:00
Kevin Froman
c0c0f838b6
better user info syncing and show names in mail
2018-08-28 20:09:27 -05:00
Kevin Froman
c907558dd1
more work on user info
2018-08-27 23:45:31 -05:00
Kevin Froman
7a0cfe34f3
work on adding/removing friends, user info
2018-08-26 22:44:32 -05:00
Kevin Froman
7a7b627259
use config for some timers
2018-08-25 09:33:38 -05:00
Kevin Froman
b6c015255d
do not use self in peercleanup
2018-08-24 18:57:53 -05:00
Kevin Froman
b46bd42d9e
fixed invalid argument call
2018-08-24 17:42:09 -05:00
Kevin Froman
e346c09228
bug fixes
2018-08-23 14:46:23 -05:00
Kevin Froman
1faae80aaf
sync improvements, bug fixes, config changes
2018-08-23 13:24:32 -05:00
Kevin Froman
638436ee10
sync improvements, bug fixes, config changes
2018-08-23 13:02:48 -05:00
Kevin Froman
e34c08b036
sync improvements, bug fixes, config changes
2018-08-23 12:48:49 -05:00
Kevin Froman
6d31fa4229
fix peer amount check not calling method
2018-08-23 09:59:00 -05:00
Kevin Froman
25e4444bda
fix comparison error in storagecounter
2018-08-23 09:54:37 -05:00
Kevin Froman
cd39ae68b6
r not w
2018-08-23 09:51:53 -05:00
Kevin Froman
1217e4a83c
removed bad argument in storagecounter
2018-08-23 09:45:51 -05:00
Kevin Froman
a6719abed7
added storagecounter.py
2018-08-23 09:01:17 -05:00
Kevin Froman
dd5cb99155
* do not save blocks if disk allocation reached
...
* improved some commenting
* bug fixes
2018-08-22 23:59:41 -05:00
Kevin
53577a4c10
work on netcheck and configuration
2018-08-21 15:01:50 -05:00
Kevin Froman
a33d45f430
fixed broken address merge
2018-08-19 20:32:21 -05:00
Kevin Froman
9d827493e4
+ v3 onion config
...
+ use newer ubuntu
2018-08-18 23:07:09 -05:00
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
Kevin Froman
6fd0f9aded
create daemon db table if it doesn't exist
2018-06-26 00:04:59 -05:00
Kevin Froman
65ea5cf6f0
completed validateMetadata function
2018-06-25 23:39:45 -05:00
Kevin Froman
956f720741
added call to new validateMetadata function
2018-06-25 02:34:43 -05:00
Kevin Froman
f148724e69
work on peer/address exchange in new communicator
2018-06-23 02:36:22 -05:00
Kevin Froman
a7d0d73b5b
add new block to hash db in communicator
2018-06-21 19:57:12 -05:00
Kevin Froman
232bc4932a
* fixed threadCount not lowering for getBlocks
...
* fixed onionrblockapi not properly converting bytes to string for block
hash
2018-06-21 19:34:42 -05:00
Kevin Froman
ff8128ae33
use bytes instead of str when inserting
2018-06-21 14:07:00 -05:00
Kevin Froman
3c8d1a5b7f
readded missing setdata in core
2018-06-21 13:56:07 -05:00
Kevin Froman
ca53da854e
readded forgotten setdata to insertblock
2018-06-21 02:34:42 -05:00
Kevin Froman
997e27b532
do not use blockapi for addmessage
2018-06-21 02:29:51 -05:00
Kevin Froman
9abb2f4f85
fixed undefined metadata in insertblock
2018-06-21 02:26:54 -05:00
Kevin Froman
9968a72fbc
+ added clear offline peers to new communicator
...
+ fixed unable to insert unencrypted block
2018-06-21 02:24:58 -05:00
Kevin Froman
829dba45cc
temporarily disabled onionrblockapi metadata
2018-06-21 02:17:20 -05:00
Kevin Froman
4bc5317b63
fixed leftover break in core
2018-06-21 01:48:54 -05:00
Kevin Froman
0087e04f57
work on new blocks and encryption
2018-06-20 15:56:28 -05:00
Kevin Froman
b3cbdbaceb
Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2
2018-06-20 14:02:17 -05:00
Kevin Froman
0a8052a9a4
* work on new block system, encryption
...
+ added new exception
+ encryption now anonymous by default, will probably remove anonymous
param in future
2018-06-20 02:40:49 -05:00
Arinerron
06b4094d45
misc changes
2018-06-19 21:51:03 -07:00
Arinerron
d77bb92e28
Refactor initializer
2018-06-19 21:36:07 -07:00
Kevin Froman
10ebdddb24
* work on new block system, working on encryption
...
* added onionrvalues file for onionr requirements
* added invalidmetadata exception
2018-06-19 02:01:59 -05:00
Kevin Froman
7864677498
+ added secrets.py
...
* work on communicator2, syncing blocks
* modify insertblock to use new pow metadata (may need more work for new
spec)
2018-06-16 15:54:56 -05:00
Kevin Froman
a4824d9b8c
work on new communicator with downloading new blocks
2018-06-16 02:33:54 -05:00
Kevin Froman
31a35472ce
* fixed broken local command
...
* work on communicator2 block syncing
2018-06-15 14:09:41 -05:00
Kevin Froman
e339b78e88
merge gitlab
2018-06-15 00:47:37 -05:00
Kevin Froman
21786c6885
work on getting new blocks in communicator2
2018-06-15 00:45:07 -05:00
Arinerron
debd123ffc
Don't sort config keys
2018-06-13 21:42:19 -07:00
Arinerron
b5c06ce64c
Add warning message to new communicator
2018-06-13 21:35:56 -07:00
Arinerron
af237eab0b
Refactor Onionr
2018-06-13 21:17:58 -07:00
Kevin Froman
6cb69c7187
work on new peer pool system in new communicator
2018-06-13 17:22:48 -05:00
Kevin Froman
effeddc536
Merge branch 'refactoring2' of gitlab.com:beardog/Onionr into refactoring2
2018-06-13 02:34:35 -05:00
Kevin Froman
083ffd8af3
work on new communicator, added some communication to peers and imported some old
...
communicator features
added powValue to address db, currently unused
2018-06-13 02:33:37 -05:00
Arinerron
d382fca524
Dynamically adjust stats menu size
2018-06-12 23:09:55 -07:00
Arinerron
25208e4374
Fix division-by-zero error
2018-06-12 22:50:55 -07:00
Kevin Froman
22aa3110d5
+ now exit in new daemon on command
...
+ no exit in new daemon on api crash
2018-06-12 22:43:39 -05:00
Kevin Froman
ed1d09a7b6
+ added timer object to new communicator
2018-06-12 18:32:33 -05:00
Kevin Froman
b6da3385cb
+ added onionrpeers file
...
+ added onionrexceptions file
+ work on new communicator
2018-06-12 02:34:33 -05:00
Kevin Froman
d73b69c9b4
work on new communicator, with nist beacon
2018-06-11 02:40:45 -05:00
Kevin Froman
7d3e7e7a30
started work on communicator2
2018-06-10 03:00:01 -05:00
Kevin Froman
77a847a0b7
* fixed addpeer command to work with pow
...
* improved stats screen to show pow token for your key
2018-06-09 01:21:14 -05:00
Kevin Froman
f8657deaa3
work on new block system
2018-06-08 02:47:14 -05:00
Kevin Froman
ee04c6d2bf
work on new block system
2018-06-08 02:46:05 -05:00
Kevin Froman
2703731053
Merge branch 'dev' of github.com:beardog108/onionr into refactoring2
2018-06-08 01:15:47 -05:00
Kevin Froman
8a16c972fd
work on new block system
2018-06-07 03:15:01 -05:00
Arinerron
0ca6480c79
silly me, missing type()
2018-06-06 18:58:40 -07:00
Arinerron
1a6fa19323
Fix 2 DOS vulns, improve Onionr efficiency
2018-06-06 18:54:35 -07:00
Arinerron
9e9595b4ec
Fix header colors
2018-06-04 23:17:17 -07:00
Arinerron
4ec3d037e9
Few misc changes
2018-06-04 22:26:11 -07:00
Arinerron
9c2acb7099
Add createChain and mergeChain
2018-06-04 19:26:04 -07:00
Kevin Froman
a25eca2818
merge import
2018-06-04 15:24:02 -05:00
20esaua
78f77c182d
Update onionrblockapi.py
2018-06-04 09:29:04 -07:00
Kevin Froman
640ce593f0
removed old commented out import
2018-06-02 00:05:46 -05:00
Arinerron
cdb199e74d
Add block "chains" (ex. parent->child mergable blocks)
2018-06-01 00:02:56 -07:00
Arinerron
8846dcc2c6
See details
...
- Completes support for repositories
- `./RUN-LINUX.sh create-repository [plugins...]`
- `./RUN-LINUX.sh add-repository <block hash>`
- `./RUN-LINUX.sh remove-repository <block hash>`
- Fixes several misc bugs
- Refactors code
- Some messy code was rewritten
- Variables renamed
- Migrated old block api (insertBlock) to new Block API (onionrblockapi)
- Kept to standards
- Made code more reusable in `onionrproofs.py`
- Improves logging messages
- Added error output for some features missing it
- Capitalized sentences
- Added punctuation where it is missing
- Switched `logger.info` and `logger.debug` in a few places, where it is logical
- Removed or added timestamps depending on the circumstance
- Added a few misc features
- Added command aliases for `add-file` and `import-blocks`
- Improved statistics menu
- Displays `Known Block Count`
- Calculates and displays `Percent Blocks Signed`
2018-05-31 21:25:28 -07:00
Arinerron
a232e663a7
Change pluginmanager to dependency
2018-05-19 15:52:24 -07:00
Arinerron
a611c7de34
Add tuple of onionr version
2018-05-19 15:27:26 -07:00
Arinerron
e03a47d7f8
Fix resource leaking
2018-05-19 15:22:35 -07:00
Arinerron
0ac27ad0e2
add block tests
2018-05-19 15:21:35 -07:00
Arinerron
007d7ad9fb
Update to new Block API
2018-05-19 15:11:51 -07:00
Kevin Froman
500658808f
Merge I2P Branch ( #19 )
...
* work on i2p support
* work on i2p support
* redid socks check
* redid socks check
* redid socks check
* work on i2p and fixed broken block processing
* fixed no newline delim on block list in api
* fixed no newline delim on block list in api
* fixed no newline delim on block list in api
* use extend instead of append for blocklist after newline changes
2018-05-19 21:32:21 +00:00
Kevin Froman
a38eb667ef
increased allowed pow id size
2018-05-18 23:06:22 -05:00
Kevin Froman
5b2e9f9265
fixed whitelist in setaddressinfo
2018-05-18 16:59:46 -05:00
Kevin Froman
78265990ab
fixed broken getepoch
2018-05-18 16:49:05 -05:00
Kevin Froman
16282d79d3
refactored timers and added lastconnect to address database
2018-05-18 01:22:16 -05:00
Arinerron
c1105c5f0f
Delete core
2018-05-16 11:26:15 -07:00
Arinerron
30f617c83e
Update plugins to use new Block API
2018-05-15 20:08:42 -07:00
Arinerron
3c8cbd2291
Refactor onionrpluginapi
2018-05-15 19:16:33 -07:00
Arinerron
e50659753a
complevit!
2018-05-15 19:12:23 -07:00
Arinerron
9fdb6d8609
Create block API (todo docs)
2018-05-15 18:47:58 -07:00
Arinerron
e95feb06db
Work on block api, finish later
2018-05-14 23:43:29 -07:00
Arinerron
93338e3fb9
Add repository support
2018-05-14 23:16:55 -07:00
Arinerron
bc60b6bfc0
Fix unit tests
2018-05-14 23:16:40 -07:00
Kevin Froman
03eb98fd16
fixed key pow verification
2018-05-15 00:16:00 -05:00
Kevin Froman
d02af9600a
removed btc and stopped delivering pow hash
2018-05-14 23:28:12 -05:00
Kevin Froman
c13a742335
removed btc and stopped delivering pow hash
2018-05-14 23:24:38 -05:00
Kevin Froman
973b8583b6
Fixed index error when checking for pow
2018-05-14 20:10:05 -05:00
Kevin Froman
0f455b50c9
Merge branch 'communicator-multithreading-newline' into communicator-multithreading
2018-05-14 19:45:15 -05:00
Kevin Froman
2e9af7a4a3
fix thread crash
2018-05-14 19:44:54 -05:00
Kevin Froman
361f1e3d54
Merge branch 'communicator-multithreading' of github.com:beardog108/onionr into communicator-multithreading
2018-05-14 11:32:01 -05:00
Kevin Froman
7098103445
small commit before merge
2018-05-14 11:31:55 -05:00
Arinerron
019f13fe8d
Fix bug involving plugin duplicate names
2018-05-13 21:22:28 -07:00
Arinerron
15d0e7c6fd
Fix small bug with description and authors
2018-05-13 21:19:33 -07:00
Arinerron
b1e9e61430
Make pluginmanager functional
2018-05-13 21:11:31 -07:00
Arinerron
f0e842eae4
Fix positional argument bug
2018-05-12 23:37:47 -07:00
Arinerron
f9b93fd491
Add newline delimiter to metadata+content
2018-05-12 20:55:34 -07:00
Arinerron
fe4261c4a2
Various improvements
...
- Adds a lot more to the pluginmanager
- Refactors code
- Relocates functions
2018-05-12 20:45:32 -07:00
Arinerron
adf007bf30
Make progress bar
2018-05-10 22:18:39 -07:00
Arinerron
adc85c76c4
Improve console output and status message
2018-05-10 20:19:48 -07:00
Arinerron
6b9f21fd08
Add color configuration to statistics command
2018-05-10 19:20:14 -07:00
Arinerron
2f7002fc67
Improve statistics command
2018-05-10 19:05:56 -07:00
Kevin Froman
193845104e
onionr can now import blocks from disk
2018-05-10 02:42:24 -05:00
Kevin Froman
5813190cc4
work on pow for public keys
2018-05-07 02:46:07 -05:00
Kevin Froman
d0994b8ef6
work on pow for public keys
2018-05-07 02:40:08 -05:00
Kevin Froman
5af0b5b7a5
Merge branch 'communicator-multithreading' of github.com:beardog108/onionr into communicator-multithreading
2018-05-07 01:55:28 -05:00
Kevin Froman
bc88e8107c
work on pow for public keys
2018-05-07 01:55:03 -05:00
Arinerron
07eb512977
Move default-plugins, debug gui
2018-05-06 16:00:28 -07:00
Kevin Froman
54a3557fd0
hopefully finished pow on blocks
2018-05-05 18:45:35 -05:00
Kevin Froman
9c3416e707
work on proof of work
2018-05-05 18:32:10 -05:00
Kevin Froman
1f8eb925c6
work on proof of work
2018-05-05 17:36:03 -05:00
Kevin Froman
7d9936e55c
work on proof of work
2018-05-05 16:50:15 -05:00
Kevin Froman
268cd10f34
work on proof of work
2018-05-05 15:20:48 -05:00
Kevin Froman
e2cc375b1a
work on proof of work
2018-05-05 15:07:32 -05:00
Kevin Froman
908ccbe664
hopefully fixed everything for new sig format
2018-05-05 03:03:05 -05:00
Kevin Froman
ff5bdd62f2
work on fixing mallable metadata & thread work
2018-05-05 01:19:25 -05:00
Kevin Froman
ab1cce3616
more work on thread logic
2018-05-04 22:39:00 -05:00
Kevin Froman
c3bf73d821
fixed thread crash in highfailurerate check in communicator
2018-05-04 21:09:54 -05:00
Kevin Froman
d8b5127845
improved communicator threading
2018-05-04 21:07:43 -05:00
Kevin Froman
72f104e447
fixed crash in communicator
2018-05-04 14:38:47 -05:00
Kevin Froman
ccea91e260
fixed merge issues
2018-05-04 12:44:35 -05:00
Kevin Froman
56ca0abc63
merge crypto
2018-05-04 12:36:58 -05:00
Arinerron
0af569acff
Move config to static-data
2018-05-04 00:14:27 -07:00
Kevin Froman
26fd456702
work on converting communicator to multithreads
2018-05-03 17:41:12 -05:00
Arinerron
c3d86eafa1
Add direct connection feature and multithreading to events
...
Add direct connection feature and multithreading to events
2018-05-03 03:22:07 +00:00
Kevin Froman
1a02124122
fixed broken shutdown command
2018-05-02 20:14:00 -05:00
Kevin Froman
98dac40139
Merge branch 'crypto' of github.com:beardog108/onionr into crypto
2018-05-02 02:40:35 -05:00
Kevin Froman
6bf8a56979
improved pow
2018-05-02 02:31:33 -05:00
Arinerron
7973d7c8a6
Fix bug involving runcheck
2018-05-01 23:50:29 -07:00
Arinerron
0a7c3aeaab
Improve daemon stopping error handling
2018-05-01 23:35:08 -07:00
Arinerron
cfb1986ad0
Add run check to node introduction function
2018-05-01 23:25:44 -07:00
Arinerron
c144bc40b3
Add status check function
2018-05-01 23:22:40 -07:00
Arinerron
7b7c4e01cb
Add debug info on exceptions
2018-05-01 23:01:20 -07:00
Kevin Froman
7fd9319cfc
changed http server to gevent from flask built in
2018-05-01 02:26:48 -05:00
Kevin Froman
0d9e0c7066
changed http server to gevent from flask built in
2018-05-01 02:25:31 -05:00
Kevin Froman
a7244b2a0a
fixed debug being enabled in web api
2018-05-01 02:01:57 -05:00
Kevin
b82486bff0
Added i2p file
2018-04-30 18:38:34 -05:00
Kevin Froman
c6c819bd28
PMs now disguise sender (needs testing)
2018-04-30 02:38:53 -05:00
Kevin Froman
a376e583e6
fixed missing import in crypto
2018-04-26 21:58:00 -05:00
Kevin Froman
717035a136
fixed missing import in crypto
2018-04-26 21:23:43 -05:00
Kevin Froman
e140e8560f
signed blocks related crashes fixed hopefully, wrong exception
2018-04-26 21:18:17 -05:00
Kevin Froman
5086a839ee
signed blocks related crashes fixed hopefully
2018-04-26 21:14:31 -05:00
Kevin Froman
28e080fe1a
signed blocks related crashes fixed hopefully
2018-04-26 21:08:56 -05:00
Kevin Froman
388b1b6e1f
signed blocks related crashes fixed hopefully
2018-04-26 20:37:48 -05:00
Kevin Froman
ac7bb63225
signed blocks related crashes fixed hopefully
2018-04-26 20:28:39 -05:00
Kevin Froman
8a9d1326fb
signed blocks related crashes fixed hopefully
2018-04-26 20:15:30 -05:00
Kevin Froman
3cba6b30c7
working on issue for hashid being bytes on some versions
2018-04-26 19:04:35 -05:00
Kevin Froman
9f4aef7465
do not encode prev if its already bytes
2018-04-26 15:39:02 -05:00
Kevin Froman
c9b7528db4
more work on block headers, PMs now signed/verified
2018-04-26 14:56:17 -05:00
Kevin Froman
ad56082271
work on new header system
2018-04-26 02:40:39 -05:00
Kevin Froman
acd5494979
fixed wrong var used for peer causing crash
2018-04-25 18:21:43 -05:00
Kevin Froman
c249a42bb7
added addres+pubkey to stats
2018-04-25 18:01:18 -05:00
Kevin Froman
66e55d5a50
efficiency improvements
2018-04-25 17:42:42 -05:00
Kevin Froman
3aa539ce82
added banner
2018-04-25 02:39:13 -05:00
Kevin Froman
c8fce63412
fixed invalid sqlite3
2018-04-25 02:20:10 -05:00
Kevin Froman
b0271e7779
removed secrets
2018-04-25 02:09:28 -05:00
Kevin Froman
1e32446f2a
fixed self issue
2018-04-25 01:56:40 -05:00
Kevin Froman
6b9d4f8fc6
work on new block metadata format and some small bug fixes
2018-04-24 23:04:12 -05:00
Kevin Froman
bbd881785d
More than halved time to keep invalid blocks during development
2018-04-23 01:46:05 -05:00
Kevin Froman
686e30f1ba
do not re merge ignored hash
2018-04-23 01:14:49 -05:00
Kevin Froman
0db21e2c32
onionr now removes and ignores blocks it cant get after a long time, added removeblock function
2018-04-23 01:03:10 -05:00
Arinerron
db2babac29
Fix this GUI bug once and for all
2018-04-22 21:54:51 -07:00
Arinerron
4052a91f35
Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto
2018-04-22 21:50:17 -07:00
Arinerron
4afe7e45c3
suppress tkinter
2018-04-22 21:50:07 -07:00
Kevin Froman
2dfe735aad
fixed arinerrons bootstrap address
2018-04-22 23:49:48 -05:00
Kevin Froman
f4da15c2f4
fixed arinerrons bootstrap address
2018-04-22 23:48:43 -05:00
Arinerron
3f6f981847
Change bootstrap node list
2018-04-22 21:47:14 -07:00
Arinerron
0d23d176ce
Move tkinter requirement to openGUI function
2018-04-22 21:42:34 -07:00
Arinerron
e820cc65ac
Fix bug involving removing enabled plugins
2018-04-22 21:25:54 -07:00
Kevin Froman
3e8d76e246
fixed exception caused by probably check for missing block
2018-04-22 23:17:16 -05:00
Arinerron
0dc6a0b6c5
Refactor code
2018-04-22 20:49:53 -07:00
Arinerron
a5dbf73df4
Simple fix for GUI plugin
2018-04-22 20:45:25 -07:00
Arinerron
36d9ebd4f1
Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto
2018-04-22 20:42:50 -07:00
Arinerron
654703d902
Start working on plugin manager
2018-04-22 20:42:37 -07:00
Kevin Froman
8300cd1c91
fixed messed up gethostname()
2018-04-22 22:20:52 -05:00
Kevin Froman
62737ea2c1
added bootstrap node and removed debug message
2018-04-22 22:15:20 -05:00
Kevin Froman
583480629a
hopefully working again, hopefully less block validation issues
2018-04-22 21:58:24 -05:00
Kevin Froman
c807056ef2
convert data to bytes if it isnt
2018-04-22 21:24:34 -05:00
Kevin Froman
7578ac874b
now only show block contents debug if txt
2018-04-22 21:19:57 -05:00
Kevin Froman
8853926287
bumped api version and removed encode on setdata since it is always bytes now
2018-04-22 21:16:11 -05:00
Kevin Froman
ae79b7ee3a
fixed stupid mistake
2018-04-22 21:13:55 -05:00
Kevin Froman
d41f86a27a
what
2018-04-22 21:10:09 -05:00
Kevin Froman
7199b0e5da
now check base64 after bool check
2018-04-22 20:59:44 -05:00
Kevin Froman
c562fabbbd
removed bytes conversion on downloadblock data
2018-04-22 20:56:20 -05:00
Kevin Froman
23d092fb94
added binascii import
2018-04-22 20:46:22 -05:00
Kevin Froman
89f1b11dac
started work on base64 transporting
2018-04-22 20:43:17 -05:00
Kevin Froman
4ff6baa279
fixed messed up message for missing bootstrap file
2018-04-22 18:38:32 -05:00
Kevin Froman
c9cfeac303
added self check, bootstrap node file
2018-04-22 18:36:09 -05:00
Kevin Froman
7706d4e04c
added self check, bootstrap node file
2018-04-22 18:35:00 -05:00
Kevin
0ce3c7d940
now kill tor more often when shutting down, use own tor data directory, and check for api crash to stop daemon
2018-04-21 20:53:12 -05:00
Arinerron
c0e08eae79
Improve plugin error handling
2018-04-21 17:37:20 -07:00
Arinerron
9cf07355ce
Convert gui.py into a default plugin
2018-04-21 17:09:48 -07:00
Arinerron
bd0a175dfc
Improve first-run and add default plugins
2018-04-20 22:04:03 -07:00
Arinerron
098abb8e55
Improve support for plugins
2018-04-20 20:10:50 -07:00
Arinerron
8d8f167d7f
Fix tests, remove debug code
2018-04-20 18:26:46 -07:00
20esaua
2126138428
Add in PluginAPI ( #7 )
...
* Modify soft resetting
Made it more like hard resetting (output-wise).
* Refactor timedHmac.py
* Update onionrplugins.py
Remove test code
* Create onionrpluginapi.py
* Update onionrevents.py
* Update onionrpluginapi.py
* Update onionrevents.py
* Update onionr.py
* Add onionr object to events
* Update onionr.py
2018-04-21 01:20:26 +00:00
Arinerron
034410a6e8
Remove test plugin
2018-04-18 21:46:29 -07:00
Arinerron
749bbe5b1f
Update gitignore
2018-04-18 21:32:59 -07:00
Arinerron
829af91c82
Add onionr/data-encrypted.dat to .gitignore
2018-04-18 21:24:06 -07:00
Arinerron
981b7ca4a6
Fix if thing
2018-04-18 21:23:31 -07:00
Arinerron
6883133cfb
Fix one bug, create another
2018-04-18 20:25:33 -07:00
Arinerron
99edaa1e6f
Fix pm bug
2018-04-18 20:20:52 -07:00
Kevin Froman
8d342df5e6
Merge branch 'crypto' of github.com:beardog108/onionr into crypto
2018-04-18 21:56:38 -05:00
Kevin Froman
8024d0e354
added introduce command
2018-04-18 21:56:25 -05:00
Arinerron
a056c7a7f4
Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto
2018-04-18 19:25:26 -07:00
Arinerron
620f176826
use sys.stdin.readline() rather than input()
2018-04-18 19:25:16 -07:00
Kevin Froman
d8d29b7c28
improved some debug info and REMOVED STRAY INPUT()
2018-04-18 21:19:38 -05:00
Kevin Froman
c356b68987
improved some debug info and REMOVED STRAY INPUT()
2018-04-18 21:18:38 -05:00
Arinerron
5dd0437f14
Merge branch 'crypto' of https://github.com/beardog108/Onionr into crypto
2018-04-18 19:16:16 -07:00
Arinerron
1332e9ee9e
Add some error handling
2018-04-18 19:16:10 -07:00
Kevin Froman
417b2d7a79
Merge branch 'crypto' of github.com:beardog108/onionr into crypto
2018-04-18 21:03:59 -05:00
Kevin Froman
812381b1d8
added check for type error on data check
2018-04-18 21:03:44 -05:00
Arinerron
ded179bcad
Add error logging
2018-04-18 18:57:37 -07:00
Arinerron
86a2c0d6d0
Remove extra padding
2018-04-18 18:50:53 -07:00
Arinerron
7369b63614
Update logging
2018-04-18 18:47:35 -07:00
Kevin Froman
77f811c455
added intruction for nodes
2018-04-18 20:17:47 -05:00
Kevin Froman
edce30ea20
added timestamp to logger & removed debug prints
2018-04-18 12:50:20 -05:00
Kevin Froman
97baec453c
fixed gui status not appearing fast enough
2018-04-18 02:17:42 -05:00
Kevin Froman
b4eb1392ea
fixed gui status not appearing fast enough
2018-04-18 02:17:04 -05:00
Kevin Froman
d5f96e4cb8
hopefulyl fixed padding error again
2018-04-18 02:12:36 -05:00
Kevin Froman
9eb8a16572
added check for gui support
2018-04-18 01:55:44 -05:00
Kevin Froman
0cf4c97597
fixed padding issue (hopefully), can now decrypt PMs, other improvements
2018-04-17 22:43:33 -05:00
Kevin Froman
a3aa8e3ae6
work on pm and gui improvements & some bug fixes
2018-04-15 21:22:19 -05:00
Kevin Froman
3a2efce637
work on encryption
2018-04-15 03:46:50 -05:00
Kevin Froman
2071def07b
fixed pubkey exchange hopefully
2018-04-03 20:54:49 -05:00
Kevin Froman
9ecd87595b
work on pm and fixed broken pex when none
2018-04-03 19:45:13 -05:00
Kevin Froman
87a9ecf426
work on pm and fixed broken pex when none
2018-04-03 19:42:20 -05:00
Kevin Froman
8d261b03dc
work on pm and fixed broken pex when none
2018-04-03 19:34:15 -05:00
Kevin Froman
a611643526
pex/kex hopefully now working
2018-04-03 16:47:48 -05:00
Kevin Froman
fdceb4be90
added debug msg for adding peers
2018-04-03 15:32:01 -05:00
Kevin Froman
28fd4f4858
now share own pubkey
2018-04-03 14:39:58 -05:00
Kevin Froman
e061e516ee
increased pex timer
2018-04-03 13:20:27 -05:00
Kevin Froman
6dafcffd5a
added cryptotests
2018-04-02 02:21:58 -05:00
Kevin Froman
8022781a8f
lot of work on OnionrCrypto
...
updated logo
fixed broken peerinfo functions in core
removed gnupg from travis installation
2018-04-01 19:33:09 -05:00
Kevin Froman
0b192ffb9b
do not request offline peers too often and updated logo
2018-04-01 00:46:34 -05:00
Kevin Froman
24540abe6b
finished pub encrypt function
2018-03-16 15:38:33 -05:00
Kevin Froman
cb3015652a
peer/key exchange work (mostly done)
2018-03-16 10:35:37 -05:00
Kevin Froman
9229fd9984
disabled btc
2018-03-03 20:28:17 -06:00
Arinerron
0fd9c3f6ab
Disable bitcoin node unit test
2018-03-03 14:22:12 -08:00
Arinerron
ce5bb6554d
Merge branch 'crypto' of https://github.com/beardog108/onionr into crypto
2018-03-03 14:19:04 -08:00
Arinerron
ee59b12238
Add more unit tests
2018-03-03 14:18:57 -08:00
Kevin Froman
3813ee56ef
fixed issues from plugin addition
2018-03-03 03:18:53 -06:00
Arinerron
cc4687021a
Migrate from old dev-enabled to devmode
2018-03-02 23:37:46 -08:00
Arinerron
c2db59ba8b
Minor bug fixes, and more refactoring
2018-03-02 23:35:13 -08:00
Arinerron
d5daeae532
Refactor code
2018-03-02 23:26:02 -08:00
Arinerron
0cefcec11a
Add unit test
2018-03-02 23:10:27 -08:00
Arinerron
b04ea55e48
Add support for programmatic command creation
2018-03-02 23:00:43 -08:00
Arinerron
ab17e0d198
Add plugin support
2018-03-02 20:19:01 -08:00
Kevin Froman
5641651c85
added functions to verify and sign with ed25519
2018-03-01 13:59:07 -06:00
Kevin Froman
17d1b9e340
work on pex
2018-03-01 03:20:57 -06:00
Kevin Froman
15aa395946
work on crypto
2018-02-28 03:06:02 -06:00
Kevin Froman
5564d540cb
renamed pow to onionrproofs since pow is a taken keyword
2018-02-27 19:44:00 -06:00
Kevin Froman
32b8d9c1a7
fixed broken test
2018-02-27 18:18:48 -06:00
Kevin Froman
fc5d702706
bug fixes
2018-02-27 18:00:37 -06:00
Kevin Froman
d0593ef300
added address add command and test
2018-02-27 15:23:49 -06:00
Kevin Froman
3033de1d9e
communicator now starts tor node
2018-02-27 03:33:26 -06:00
Kevin Froman
cf3af5b8c6
work on pow
2018-02-25 20:30:43 -06:00
Kevin Froman
152f9e7dee
improved tor support for bitcoin
2018-02-24 15:43:10 -06:00
Kevin Froman
5674cd2137
Merge branch 'master' into crypto
2018-02-24 03:38:10 -06:00
Kevin Froman
0e0be52980
added bitcoin block tool
2018-02-24 03:37:52 -06:00
Arinerron
39c81ae7d1
Add log configuration
2018-02-22 18:53:49 -08:00
Arinerron
c87bf15146
Add config command
2018-02-22 18:25:05 -08:00
Arinerron
1a1317a7b6
Refactor configuration management code
2018-02-22 17:58:36 -08:00
Kevin Froman
b65c6305c5
added pow module (not used yet)
2018-02-22 16:55:42 -06:00
Kevin Froman
155791be03
test tor version, use address db for connections, create address db if it doesnt exist, more
2018-02-22 03:33:30 -06:00
Kevin Froman
af24f16538
fix merge conflict
2018-02-22 02:42:55 -06:00
Kevin Froman
f39ab33517
added hash validation test and cleaned up output
2018-02-22 02:41:05 -06:00
Arinerron
8acef01b68
Add help menu, refactor code
2018-02-21 23:24:25 -08:00
Arinerron
005273b52c
Merge branch 'crypto' of https://github.com/beardog108/onionr into crypto
2018-02-21 22:42:04 -08:00
Arinerron
b0039f534c
Changes, forgot
2018-02-21 22:42:02 -08:00
Kevin Froman
15400432b1
fixed pubkey validation not working
2018-02-22 00:08:04 -06:00
Kevin Froman
882f2e7020
fixed crypto object created before directories are generated
2018-02-22 00:02:29 -06:00
Kevin Froman
38bfee5344
work on seperating pubkey from tor/i2p
2018-02-21 03:32:31 -06:00
Kevin Froman
586e9230cd
fixed message spam, rewrote draft, work on crypto
2018-02-20 20:44:56 -06:00
Kevin Froman
895b1919fd
removed PGP
2018-02-15 23:31:30 -05:00
Kevin Froman
297cac81ae
work on peer encryption
2018-02-08 16:58:39 -06:00
Kevin Froman
a0dc95c291
work on peer private messages (& crypto)
2018-02-08 03:14:32 -06:00
Kevin Froman
4948712904
work on peer encryption
2018-02-07 03:04:58 -06:00
Kevin Froman
6ca70afb78
we now temporarily keep track of peer connectivity history, eventually we will use this to ignore unstable/slow/offline peers
2018-02-04 03:20:43 -06:00
Arinerron
c57bffcae8
Fix two bugs
2018-02-03 21:22:34 -08:00
Arinerron
62cad7a6ea
Code consistency updates
...
- Improved formatting
- Added comments
- URL encoded values in netcontroller.performGET
- Kept SQL statement case consistency
2018-02-03 19:44:29 -08:00
Arinerron
bdd1d9697b
Refactor argument handler FOR THE FIFTH TIME
2018-02-03 17:11:35 -08:00
Kevin Froman
2769673abd
hopefully fixed block issues
2018-02-02 03:15:28 -06:00
Kevin Froman
38ad6559c3
gui can now send messages
2018-02-02 02:30:50 -06:00
Kevin Froman
70bc131aa6
work on gui, blocks now have identifiers, work on crypto
2018-02-01 23:39:55 -06:00
Kevin Froman
14d1fec3f3
started work on data encryption
2018-02-01 16:45:15 -06:00
Kevin Froman
40643358fc
Merge branch 'process-blocks' of github.com:beardog108/onionr into process-blocks
2018-01-29 01:05:24 -06:00
Kevin Froman
dd9a54f7c6
added addpeer command and misc bug fixes
2018-01-29 01:05:02 -06:00
Arinerron
b3ea0e7b46
fix a few things
2018-01-28 22:01:36 -08:00
Kevin Froman
71bff27245
do not add block in addblock function if it already is added
2018-01-28 21:45:43 -06:00
Kevin Froman
e5a3a4650e
now display new block text if small in terminal
2018-01-28 21:00:12 -06:00
Kevin Froman
8c6a04f03d
moved length check in hash validation
2018-01-28 20:54:39 -06:00
Kevin Froman
1c3e886ba0
added hasBlock function
2018-01-28 20:52:48 -06:00
Kevin Froman
b4d61d3598
set dataSaved when it should have already been
2018-01-28 20:39:34 -06:00
Kevin Froman
aaecd0adaf
added timeout to performget
2018-01-28 20:30:31 -06:00
Kevin Froman
8b3a09f5af
do not claim hash is invalid when there was no hash
2018-01-28 20:20:24 -06:00
Kevin Froman
da80723686
do not claim hash is invalid when there was no hash
2018-01-28 20:19:30 -06:00
Kevin Froman
0ca84c9759
check for bytes hash type in setData
2018-01-28 20:14:46 -06:00
Kevin Froman
55aa889bd9
now update block datasaved stat when saved
2018-01-28 20:12:36 -06:00
Kevin Froman
8d41f9f3d5
now update block datasaved stat when saved
2018-01-28 20:08:28 -06:00
Kevin Froman
dc65254e0a
now update block datasaved stat when saved
2018-01-28 20:02:16 -06:00
Kevin Froman
7acb695acd
added hash validation warning for blocks
2018-01-28 16:45:22 -06:00
Kevin Froman
1b0d575575
fxied validateHash
2018-01-28 16:41:49 -06:00
Kevin Froman
c6ad487c79
fxied validateHash
2018-01-28 16:38:10 -06:00
Kevin Froman
d1faea2519
debugging blocks
2018-01-28 16:29:16 -06:00
Kevin Froman
7533fda399
debugging blocks
2018-01-28 16:26:34 -06:00
Kevin Froman
172e709c46
trim hash whitespace in validatehash
2018-01-28 16:21:51 -06:00
Kevin Froman
692de7a147
sigh
2018-01-28 16:15:41 -06:00
Kevin Froman
7f688e0696
added downloadBlock function
2018-01-28 16:14:19 -06:00
Kevin Froman
f4bb9ca093
fixed process blocks core call
2018-01-28 16:03:55 -06:00
Kevin Froman
cd82903db1
moved processblocks to communicator and fixed bool error in validatehash
2018-01-28 16:02:29 -06:00
Kevin Froman
63b4c88d06
moved processblocks to communicator and fixed bool error in validatehash
2018-01-28 15:59:13 -06:00
Arinerron
0d423aaefd
Change "error" to "fatal" and fix styling for fatal
2018-01-27 20:43:54 -08:00
Kevin Froman
2d41107372
fixed requirements.txt and unsaved block message
2018-01-27 20:29:45 -06:00
Kevin Froman
ac0838e678
properly save block list
2018-01-27 20:23:07 -06:00
Kevin Froman
963fab821b
fixed addToBlockDB and added selfInsert flag, addmessage command
2018-01-27 20:18:38 -06:00
Kevin Froman
da6729adc9
fixed core not appending new line to block list
2018-01-27 20:10:17 -06:00
Kevin Froman
7a3eaf63df
added invalid block debug message
2018-01-27 20:07:33 -06:00
Kevin Froman
59b4a887c7
properly close setpeerinfo db
2018-01-27 20:05:55 -06:00
Kevin Froman
df494a7906
added communicator hash sync debug messages
2018-01-27 20:03:44 -06:00
Kevin Froman
abcdf58b1f
fixed performget error type mismatch
2018-01-27 19:58:30 -06:00
Kevin Froman
2ed6475195
improved block syncing
2018-01-27 19:56:59 -06:00
Kevin Froman
897f18bbc2
improved block syncing
2018-01-27 19:53:24 -06:00
Kevin Froman
f3c1587d51
failed to get blocks message
2018-01-27 17:02:03 -06:00
Kevin Froman
db9ed46162
failed to get blocks message
2018-01-27 16:59:07 -06:00
Kevin Froman
5457e1fdb7
onionr now responds with data properly
2018-01-27 15:49:48 -06:00
Kevin Froman
50e6537e80
tor now exits properly on STOP command
2018-01-27 03:06:08 -06:00
Kevin Froman
4510dbfd82
tor now exits properly on STOP command
2018-01-27 02:43:36 -06:00
Kevin Froman
ead0741e03
fixed gpg generation bug and fixed issues relating to first run/setup
2018-01-26 21:42:20 -06:00
Kevin Froman
d22d945056
fixed wrong gnupg
2018-01-26 19:45:01 -06:00
Kevin Froman
e59ca3968c
updated gnupg version and removed CI check for gnupg
2018-01-26 19:35:18 -06:00
Kevin Froman
bf2290ab26
fixed incorrect logger import and fixed communicator not shutting down
2018-01-26 19:24:38 -06:00
Kevin Froman
1c8f8a6632
Merge remote-tracking branch 'origin/loggerdev' into mergeloggerdev
2018-01-26 19:17:22 -06:00
Kevin Froman
cb63941fc9
work on processing blocks
2018-01-26 19:16:15 -06:00
Kevin Froman
383c936e68
Delete hostname
2018-01-26 19:09:51 -06:00
Kevin Froman
192aee9dc2
Delete torrc
2018-01-26 19:09:38 -06:00
Kevin Froman
ff23a4dc6d
Delete host.txt
2018-01-26 19:09:29 -06:00
Kevin Froman
946d5fb25c
Update torrc
2018-01-26 19:07:47 -06:00