Commit Graph

365 Commits

Author SHA1 Message Date
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
20esaua
78f77c182d
Update onionrblockapi.py 2018-06-04 09:29:04 -07: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