Commit Graph

756 Commits

Author SHA1 Message Date
Kevin Froman
0b38f78a64 more endpoints reimplemented in new api 2018-12-20 00:01:53 -06:00
Kevin Froman
a148826b39 work on revising api 2018-12-19 00:06:25 -06:00
Kevin Froman
a8f8aea35f work on revising api 2018-12-18 17:48:17 -06:00
Kevin Froman
a20769fb68 config option for new api server 2018-12-16 16:19:21 -06:00
Kevin Froman
643ddec430 added api rework files 2018-12-16 16:12:47 -06:00
Kevin Froman
074a0e796f merging master 2018-12-16 12:27:51 -06:00
Kevin Froman
12fb92444a merging master 2018-12-16 12:27:35 -06:00
Kevin
f8cebd5bd5 Cleanup and fixes 2018-12-16 12:21:57 -06:00
Kevin Froman
dc51ab8980 started work on db block data, improved block time stamping messages a bit 2018-12-16 12:21:44 -06:00
Kevin
bf87ab17af Block time handling improvements 2018-12-16 05:36:47 +00:00
Kevin Froman
98bc3b3271 actually handle future-set blocks properly 2018-12-15 23:35:06 -06:00
Kevin Froman
a4370c26b0 do not save blocks that are too old 2018-12-14 21:27:05 -06:00
Kevin Froman
8e35b8b7ad do not save blocks that are set for the future 2018-12-14 21:23:02 -06:00
Kevin Froman
302f696475 removed randomness beacon stuff 2018-12-14 11:23:56 -06:00
Kevin
993e5ae4c7 Cleanup and fixes 2018-12-13 04:35:01 +00:00
Kevin
ca70b275f6 Merge wot 2018-12-09 17:29:39 +00:00
Arinerron
908ee647a1
Fix merge conflicts 2018-11-16 23:23:10 -08:00
Kevin Froman
4103543f82 fixed broken uploadwait 2018-11-15 14:47:35 -06:00
Aaron
1298e7cd7d urlencode data variable 2018-11-13 21:04:14 +00:00
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