Jeff Becker
d423ee02d2
use shared_ptr
2019-05-03 09:15:03 -04:00
Jeff Becker
d50b18d7b0
try fixing leak also make format
2019-04-30 08:22:15 -04:00
Jeff
01906c5d94
Merge remote-tracking branch 'origin/master'
2019-04-28 13:33:27 -04:00
Michael
0b4d787042
More work on router docker image
...
- Multi-stage docker build (final image only 15MB!)
- Build in release mode
- Fix bug with release mode
- Fix compiler being dumb AF
- Disable FORTIFY for now
- Enable LTO when making a staticly linked release
- Fix some gcc specific warnings
- Refactor cmake stuff into multiple files
2019-04-28 17:04:52 +01:00
Michael
9ee525a006
Fix shadowing warnings
2019-04-26 00:21:19 +01:00
Jeff Becker
af1529fa72
Merge remote-tracking branch 'origin/master'
2019-04-25 07:25:22 -04:00
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
2019-04-25 00:27:31 +01:00
Jeff Becker
6711296b26
finish converting to shared_ptr
2019-04-23 12:13:22 -04:00
Jeff Becker
99c29cf05a
prepare for ios/android jazz
...
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
2019-04-23 10:28:59 -04:00
Jeff Becker
5872573e91
rename Logic and Crypto functions to GetLogic and GetCrypto
2019-04-23 09:20:01 -04:00
Jeff Becker
a2912ff860
Merge remote-tracking branch 'origin/master'
2019-04-23 09:12:36 -04:00
Michael
98e691f315
Tidy up more parts of the service/ directory
2019-04-22 22:28:10 +01:00
Jeff Becker
36369abcb4
"better" (more vigorus) path building
2019-04-22 15:15:07 -04:00
Jeff Becker
d5162c2aad
dont kill active exit paths
2019-04-22 13:55:07 -04:00
Michael
e33a33635c
Remove usage of raw new from service classes
2019-04-22 18:38:29 +01:00
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
2019-04-22 08:25:25 -04:00
michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Michael
c39c931d03
Remove IStateful virtual inheritance
2019-04-19 16:10:26 +01:00
Jeff Becker
57dc6cc965
make bundling rc in path builds configurable on runtime
2019-04-18 07:49:54 -04:00
Jeff Becker
94eb37d490
bundle RC in build record to improve build success rates.
2019-04-17 15:05:54 -04:00
Jeff Becker
87ff9268da
if a router is connected it's fine given it's a boostrap
2019-04-16 10:43:12 -04:00
Jeff Becker
a45d6db0e0
better profiling
2019-04-16 07:44:55 -04:00
Jeff
7a83f71713
re-animate paths
2019-04-13 10:32:07 -04:00
Jeff Becker
04a5db8789
call hook
2019-04-10 08:56:14 -04:00
Jeff Becker
6220fef2dc
select good first hops
2019-04-09 12:27:47 -04:00
Jeff Becker
c910a2a2fb
more
2019-04-05 10:58:22 -04:00
Jeff
97b9c679b0
don't use bootstrap nodes for first hops in paths
2019-04-03 15:05:44 -04:00
Jeff Becker
965b0957ee
tweaks
2019-03-31 11:09:59 -04:00
Jeff Becker
c23498925c
disable profiling on path fail
2019-03-31 10:41:36 -04:00
Jeff Becker
24e7151ff5
log and don't remove path on died
2019-03-30 09:12:48 -04:00
Jeff Becker
b849ff9a94
handle path death better
2019-03-30 09:02:10 -04:00
Jeff Becker
fcdef8d363
don't mark paths as dead after established
2019-03-27 16:25:54 -04:00
Jeff Becker
d4cb6808ec
more
2019-03-25 11:41:37 -04:00
Jeff Becker
91298c4819
re-enable profiling
2019-03-25 10:17:02 -04:00
Jeff Becker
8a63533d1a
have service nodes maintain min connections
...
path building more robust selection
2019-03-25 08:52:32 -04:00
Jeff Becker
db17b0fad5
disable profiling
2019-03-22 13:41:04 -04:00
Jeff Becker
c63beae1c6
use std::min not std::max for linear backoff
...
ayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyylmao
this was fucking dumb as shit
2019-03-22 10:18:57 -04:00
Jeff Becker
ce126166af
more logging info
2019-03-22 10:10:30 -04:00
Jeff Becker
0369e42d5e
try harder to select hops
2019-03-22 08:44:15 -04:00
Jeff Becker
dc36856922
try tweaking timeout
2019-03-20 21:19:30 -04:00
Jeff Becker
5d3833ef1a
fix dumb as shit path building that causes premature termiantion because of duplicate hops
2019-03-11 09:58:31 -04:00
Jeff Becker
6489ea2152
make it work
2019-03-08 12:26:29 -05:00
Jeff Becker
df17866ff7
breaking protocol change, bundle source txid on outside of path transfer message.
2019-03-08 10:33:49 -05:00
Jeff Becker
2218749134
Merge remote-tracking branch 'origin/staging' into staging
2019-03-07 17:58:29 -05:00
Jeff Becker
6a09348c47
today's work
2019-03-07 17:53:36 -05:00
Jeff
1a09a12ee0
Merge branch 'staging' into absl_mutex
2019-03-05 17:06:23 -05:00
Jeff Becker
8331449ab9
update profiles on path build
2019-03-04 12:03:18 -05:00
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
2019-03-04 00:03:52 +00:00
Michael
c5a129ddff
Convert to use abseil synchronisation primitives
2019-03-03 21:20:38 +00:00
Jeff Becker
71302ee48b
Merge remote-tracking branch 'origin/staging' into fix-libabyss-352
2019-02-27 07:55:38 -05:00