Commit Graph

1062 Commits

Author SHA1 Message Date
0Gitnick
26b1cc5d87 Delegate code in onionrproofs 2019-08-13 19:12:45 -05:00
Kevin Froman
e86f154522 * prevent the same message from being inserted at the same time in the http api
* bumped toomanyobjs
* correct pysocks raise
fixes #34
2019-08-13 17:28:53 -05:00
0Gitnick
34c00069f5 Fix difficulty calculator for new blocks 2019-08-13 16:54:03 -05:00
0Gitnick
7c7058a691 Remove unused variables in onionrproofs.py 2019-08-13 15:26:20 -05:00
0Gitnick
6c091acd34 Shorten hashMeetsDifficulty function 2019-08-13 15:18:43 -05:00
0Gitnick
401723f5ab Comment step function 2019-08-13 15:10:58 -05:00
0Gitnick
60c9a395f6 Delegate finding leading zeroes to library functions 2019-08-13 15:04:20 -05:00
0Gitnick
8a36144675 Fix difficultyModifier 2019-08-13 14:51:46 -05:00
0Gitnick
ae845940d9 Increase random bits mainly for preventing duplicate nonces for the same block 2019-08-13 08:13:52 -05:00
Kevin Froman
795266edaf Download queue log messages now skip-based x10
fixes #31
2019-08-13 04:16:11 -05:00
Kevin Froman
9601a3d072 log what block is being uploaded by hash 2019-08-12 18:49:16 -05:00
Kevin Froman
56dc2e0ce7 re-add bootstrap node since it is apparently fixed 2019-08-12 18:48:51 -05:00
Kevin Froman
1493e029ea catch keyboard interupt when generating deterministic keys 2019-08-12 18:48:20 -05:00
Kevin Froman
c07cfeec9e improve node public disclaimer page 2019-08-12 01:55:47 -05:00
Kevin Froman
26b0a05d66 * uploads now only remove from upload queue on 'exists' for efficiency-security trade off
fixes #26
2019-08-11 23:00:08 -05:00
Kevin Froman
97d04440ee added upload queue class to remember block inserts across restarts 2019-08-11 22:32:58 -05:00
Kevin Froman
da2c6b5b9c handle and setup onion service streams better 2019-08-11 15:44:56 -05:00
Kevin Froman
0e9da24d79 refactored lookup timer calls in communicator 2019-08-11 15:44:16 -05:00
Kevin Froman
00e2445475 make tor restart more aggressive as last resort for tor-death bug 2019-08-11 13:53:38 -05:00
Kevin Froman
3e99bd3a83 remove cliui for now 2019-08-10 21:13:15 -05:00
Kevin Froman
0cd1ee8bb6 hopefully improve tors connectivity with torrc changes 2019-08-10 19:42:47 -05:00
Kevin Froman
bf6bbd3024 added forgotten imports in blockmetadata 2019-08-09 23:18:30 -05:00
Kevin Froman
75ec108496 improved network stability by having automatic tor restarts 2019-08-09 20:04:56 -05:00
Kevin Froman
daff149acc refactoring 2019-08-09 15:41:27 -05:00
Kevin Froman
7c02f6fff1 * refactored blockmetadata
* be more careful with block type length
+ work on chat
2019-08-09 15:07:32 -05:00
Kevin Froman
8c7319048d bug fixes 2019-08-08 01:25:48 -05:00
Kevin Froman
ef01d3b577
+ added notifications for mail messages
+ added authors.md
2019-08-07 22:45:18 -05:00
Kevin Froman
41368a2747 fix broken connection pool 2019-08-07 18:14:13 -05:00
Kevin Froman
76356d5e3f added some more readmes 2019-08-07 17:46:57 -05:00
Kevin Froman
636cf3a8d1 added readme for communicator 2019-08-07 00:42:37 -05:00
Kevin Froman
ae435bd5f9 limit log file line count 2019-08-06 21:50:15 -05:00
Kevin Froman
bd5b6a1802 do not update address databases on every request 2019-08-06 16:19:26 -05:00
Kevin Froman
bf9b244180 fixed some bugs 2019-08-06 00:49:31 -05:00
Kevin Froman
9080374d7b onionr.py fully removed 2019-08-05 22:10:21 -05:00
Kevin Froman
3409a2888f progress removing onionr.py 2019-08-05 18:09:04 -05:00
Kevin Froman
3a90185cd3 progress removing onionr.py 2019-08-05 14:01:53 -05:00
Kevin Froman
2bc908deb6 progress removing onionr.py 2019-08-05 12:57:25 -05:00
Kevin Froman
6bf8bb1db6 progress removing onionr.py 2019-08-05 11:30:19 -05:00
Kevin Froman
cbe10f914a progress removing onionr.py 2019-08-05 00:25:27 -05:00
Kevin Froman
0690e9ca0e progress removing onionr.py 2019-08-04 23:23:12 -05:00
Kevin Froman
705962e9e7 progress removing onionr.py 2019-08-04 23:08:56 -05:00
Kevin Froman
2f9c1de062 progress removing onionr.py 2019-08-04 19:34:57 -05:00
Kevin Froman
aea32bd1bc progress removing onionr.py 2019-08-03 23:52:57 -05:00
Kevin Froman
a6fec9eefb progress removing onionr.py 2019-08-02 18:00:04 -05:00
Kevin Froman
6e526bf629 progress removing onionr.py 2019-07-31 00:10:28 -05:00
Kevin Froman
e037633735 progress removing onionr.py 2019-07-30 13:13:10 -05:00
Kevin Froman
453e8588c5 progress removing onionr.py 2019-07-30 00:19:22 -05:00
Kevin Froman
802af58d46 do not have duplicate class name in onionrpluginapi 2019-07-29 13:43:50 -05:00
Kevin Froman
2316e3c6e4 fixed encrypt plugin having bad import 2019-07-29 13:13:40 -05:00
Kevin Froman
b7d4aaed9a
Fixed up mail CSS and message deletion 2019-07-29 13:05:27 -05:00
Kevin Froman
9cd33971d4 added new bootstrap node 2019-07-28 23:14:06 -05:00
Kevin Froman
0fee4eb390 added auto refresh to circle ui 2019-07-28 23:07:29 -05:00
Kevin Froman
9933cd1b82 circles now working ok in ui 2019-07-28 22:00:38 -05:00
Kevin Froman
ccbf687ad1 work on chat 2019-07-28 13:05:32 -05:00
Kevin Froman
a086198ca0 work on chat 2019-07-28 00:44:21 -05:00
Kevin Froman
da21999287 work on chat 2019-07-28 00:33:26 -05:00
Kevin Froman
7514fd5228 work on chat 2019-07-27 16:56:06 -05:00
Kevin Froman
ef6bb8c1e9 added keymanager test 2019-07-27 15:29:15 -05:00
Kevin Froman
b24c683f5f work on chat 2019-07-27 02:29:16 -05:00
Kevin Froman
faf85c10d2 fixed importer 2019-07-26 21:42:55 -05:00
Kevin Froman
4bbbff7651 added getopenport 2019-07-26 18:20:27 -05:00
Kevin Froman
3f5834da95 removed empty pkgbuild 2019-07-26 16:18:12 -05:00
Kevin Froman
bf12ce6d8c removed unnecessary imports in onionr.py 2019-07-26 16:17:34 -05:00
Kevin Froman
e45ce2e4dd progress in removing core 2019-07-26 16:11:24 -05:00
Kevin Froman
405e8cdd24 added identify home test 2019-07-26 16:05:58 -05:00
Kevin Froman
c7efc1ba08 added network merger test 2019-07-26 00:55:20 -05:00
Kevin Froman
19fa128710 progress in removing core 2019-07-25 11:14:13 -05:00
Kevin Froman
3d50dbcaac remove core to merge easyinstall 2019-07-24 20:58:09 -05:00
Kevin Froman
c6badab18e progress in removing core 2019-07-24 14:35:18 -05:00
Kevin Froman
ac70966c41 progress in removing core 2019-07-24 13:23:31 -05:00
Kevin Froman
147ae953db progress in removing core 2019-07-24 13:10:37 -05:00
Kevin Froman
3097407774 progress in removing core 2019-07-24 12:22:19 -05:00
Kevin Froman
274505a51f progress in removing core 2019-07-24 11:32:23 -05:00
Arinerron
fff2b7b18f
master <- easy-releases 2019-07-22 16:59:48 -07:00
Kevin Froman
a74f2c5051 progress in removing core 2019-07-22 00:24:42 -05:00
Kevin Froman
26c3b519c7 progress in removing core 2019-07-21 21:23:22 -05:00
Kevin Froman
4025983ca7 progress in removing core 2019-07-21 11:15:20 -05:00
Kevin Froman
50a8e8958a progress in removing core 2019-07-20 19:29:08 -05:00
Kevin Froman
f843ccc3b2 progress in removing core 2019-07-20 16:21:03 -05:00
Kevin Froman
e7c8c93dab progress in removing core 2019-07-20 10:52:03 -05:00
Kevin Froman
348ec1081f progress in removing core 2019-07-20 01:02:30 -05:00
Kevin Froman
e351710189 progress in removing core 2019-07-19 19:41:15 -05:00
Kevin Froman
e1676ef168 progress in removing core 2019-07-19 19:01:16 -05:00
Kevin Froman
e12781a49d progress in removing core 2019-07-19 14:49:56 -05:00
Kevin Froman
08d3e3a231 progress in removing core 2019-07-18 23:59:44 -05:00
Kevin Froman
dbbefafd19 progress in removing core 2019-07-18 18:07:18 -05:00
Kevin Froman
1775b96a04 progress in removing core 2019-07-18 12:40:48 -05:00
Kevin Froman
e69c8dbb60 progress in removing core 2019-07-18 00:11:52 -05:00
Kevin Froman
8163292ed9 progress in removing onionr core 2019-07-17 17:41:33 -05:00
Kevin Froman
bf8a9c4f27 refactoring core databases to not use core anymore 2019-07-17 11:58:40 -05:00
Kevin Froman
000538ddc8 fixes in board, refactoring core databases to not use core anymore 2019-07-17 11:25:29 -05:00
Kevin Froman
1ced21f40c forgot navbar.js, work on board web ui refreshing and appearance 2019-07-17 00:10:39 -05:00
Kevin Froman
837286a970 use proper data folders 2019-07-14 22:01:56 -05:00
Kevin Froman
650d5077ed correct onionr.py open port function call 2019-07-14 02:05:25 -05:00
Kevin Froman
7aadd6a3b5 refactored netcontroller into a module 2019-07-14 01:58:57 -05:00
Kevin Froman
9298b3716b
refactored logger into a module 2019-07-13 19:29:33 -05:00
Kevin Froman
4256de5097 updated screenshots to have new ui 2019-07-13 01:35:49 -05:00
Kevin Froman
2811173051 fix broken peer cleanup 2019-07-12 19:03:06 -05:00
Kevin Froman
2a124c423b fixed broken plugin blueprint loading 2019-07-12 17:31:11 -05:00
Kevin Froman
b008616636 fixed flask's nonsense with relative dirs 2019-07-12 13:47:50 -05:00
Kevin Froman
1ba26541b2 put peerprofiles in its own file 2019-07-12 12:51:35 -05:00
Kevin Froman
f5e613134b
removed unnecessary imports in onionrpeers 2019-07-12 12:29:05 -05:00
Kevin Froman
021fa87f30
refactored onionrpeers into a module 2019-07-12 12:21:08 -05:00
Kevin Froman
ec2f24b257
refactored api servers into module 2019-07-12 02:07:30 -05:00
Kevin Froman
62200d4d98 fixed broken daemon queue thread count 2019-07-11 13:26:57 -05:00
Kevin Froman
dbd154d450 mostly finished refactoring communicator into a module 2019-07-11 02:39:35 -05:00
Kevin Froman
9bf6c76557 refactoring communicator into module 2019-07-10 17:38:20 -05:00
Kevin Froman
be318f2403 punish peers for overloading get responses 2019-07-10 02:29:05 -05:00
Kevin Froman
52c7ba860d fixed mail UI for redesign 2019-07-09 22:17:56 -05:00
Kevin Froman
b822a74c53 based block size protection added 2019-07-09 01:25:20 -05:00
Kevin Froman
fe142528ca added streamedrequests dependency for future use 2019-07-08 13:42:06 -05:00
Kevin Froman
bd647c9ccc correct downloadblocks bhash var name 2019-07-03 21:52:09 -05:00
Kevin Froman
bcc475dc61 refactor downloadblocks, removed old main.js, correct replay protection check 2019-07-03 21:28:16 -05:00
Kevin Froman
873740c5ad reject large requests 2019-07-02 21:50:22 -05:00
Kevin Froman
98fcd9d139 fixed duplicate upload namespace 2019-07-02 19:43:18 -05:00
Kevin Froman
4538a7e470 undo replace mistake 2019-07-02 19:35:59 -05:00
KF
0e2928db38 * refactored client api endpoints to their own file and class 2019-07-02 18:16:04 -05:00
KF
2f07b2d00e * fixed some mail elements for bulma redesign
* added dll, exe to .gitignore
* fixed some miscpublicapi endpoints httpapi calls
2019-07-02 17:34:26 -05:00
Kevin Froman
10ef9ce41b refactored api servers, especially the public server. Client server to recieve similar refactoring soon 2019-07-02 01:32:26 -05:00
Kevin Froman
54dabefe45 incomplete work on refactoring client api endpoints 2019-07-01 15:38:55 -05:00
Kevin Froman
02c71eab2f * fixed fd handler probably
* fixed security level in ui redesign
* moved client api insertblock to its own blueprint
2019-06-29 15:17:48 -05:00
Kevin Froman
cff38cb7c2 sync and onionrservices fixes 2019-06-29 13:18:31 -05:00
Kevin Froman
d70afbf92b merge refactorinsert into travis' ui work 2019-06-28 17:26:37 -05:00
Travis
33340746dd Implemented Bulma for the new UI.
Tried to use the template element and JavaScript for some elements.
2019-06-28 16:24:34 -05:00
Kevin Froman
bb5378ec4c fix importblocks metadata call not having core inst 2019-06-28 16:10:29 -05:00
Kevin Froman
a27a5e5a45 added support for 0-truncated hashes in stringvalidators, added test for hash validation 2019-06-28 00:00:38 -05:00
Kevin Froman
03fbf32af9 added reconstructhash for working with block hashes without their leading zeroes 2019-06-27 21:43:50 -05:00
Kevin Froman
dce453db81 fixed output in onionr.py, work on docs 2019-06-27 13:45:28 -05:00
Kevin Froman
44bcbac8ef + added optimization check
* fixed stats table
* added main docs file (WIP)
2019-06-27 01:36:52 -05:00
Kevin Froman
683aaa3978 added boilerplates 2019-06-26 15:13:36 -05:00
Kevin Froman
94ba3e29d1 do not show traceback when adding existing determiistic key 2019-06-26 14:54:13 -05:00
Kevin Froman
7f4605998c fix some commands terminal output 2019-06-26 01:34:34 -05:00
Kevin Froman
60d47e1e41 remove utils from netcheck 2019-06-26 00:41:49 -05:00
Kevin Froman
3bb0e48a06 added some of the missing boilerplate 2019-06-26 00:26:50 -05:00
Kevin Froman
c8a50c5956
fixed broken waitforshare 2019-06-25 23:48:24 -05:00
Kevin Froman
0b34951423 redo new logging 2019-06-25 19:33:55 -05:00
Kevin Froman
a5a50a84d4 adjust test to use new stringvalidation module 2019-06-25 19:32:44 -05:00
Kevin Froman
122eb4ee5f Finished removing onionrutils for the most part, except for some possible bugs remaining 2019-06-25 19:15:04 -05:00
Kevin Froman
c7e06205b7 OnionrUtils fully removed (but not fully bug free)
flow now uses daemon thread for displaying output
2019-06-25 18:07:35 -05:00
Kevin Froman
909c002dc4 more progress in removing onionrutils class 2019-06-25 03:21:36 -05:00
Kevin Froman
d378340099 * further splitting onionrutils into a module 2019-06-23 12:41:07 -05:00
Kevin Froman
0d258e1a16 * more utils refactoring, requests this time 2019-06-23 02:25:40 -05:00
Kevin Froman
7830484760 * started refactoring onionrusers into a full module instead of a class
* now use daemon threads to prevent process hanging
2019-06-23 02:00:27 -05:00
Kevin Froman
e4ec850b60 correctly import add in blockmetadb 2019-06-22 18:06:16 -05:00
Kevin Froman
2b64cc9ba4 correct add function name 2019-06-22 18:01:55 -05:00
Kevin Froman
4e00bdb348 fixed small cli logging bugs 2019-06-22 17:54:41 -05:00
Kevin Froman
50e93f46e4 * Major core refactoring
* renamed clandestine to esoteric
2019-06-22 16:16:12 -05:00
Kevin Froman
5cee375b02 fixed small cli logging bugs 2019-06-20 16:59:36 -05:00
Kevin Froman
12227b6bcb a little work on clandestine UI 2019-06-20 02:59:32 -05:00
Kevin Froman
6630071802 log to terminal again in places where it should 2019-06-19 19:59:05 -05:00