Commit Graph

411 Commits

Author SHA1 Message Date
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
6ff3c2c519
Merge pull request #22 from 20esaua/patch-4
Add Block.create()
2018-06-04 15:22:05 -05: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
bbac26fed1
Merge pull request #18 from beardog108/Arinerron-patch-1
Update readme.md
2018-05-19 01:03:41 -05:00
Arinerron
e196cab6d5
Update readme.md 2018-05-18 22:56:26 -07:00
Kevin Froman
a38eb667ef
increased allowed pow id size 2018-05-18 23:06:22 -05:00
Kevin Froman
6860fe50fa
Merge pull request #12 from beardog108/crypto
Crypto
2018-05-18 18:45:49 -05:00
Kevin Froman
e69971bc27
Merge pull request #10 from beardog108/communicator-multithreading
Communicator multithreading
2018-05-18 18:16:12 -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
c933e76c3e
Add core to gitignore 2018-05-16 12:29:05 -07:00
Arinerron
c1105c5f0f
Delete core 2018-05-16 11:26:15 -07:00
Kevin Froman
12a98f8a16
Update readme.md 2018-05-16 13:02:17 -05: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
Kevin Froman
71f4318719
Merge pull request #9 from beardog108/communicator-multithreading-newline
Add newline delimiter to metadata+content
2018-05-12 23:16:00 -05: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