Jeff Becker
64b5537fe0
rpc clean up logic, dont fetch list as client AND dont ping lokid as client
5 years ago
Jeff Becker
e5f92eaa79
only ping lokid if a service node
5 years ago
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Stephen Shelton
211a5f7a03
Remove typo in version changes
5 years ago
Jeff Becker
4fdff7f233
consolidate versions
5 years ago
Jeff Becker
c9d38d421b
clang fixes
5 years ago
Jeff Becker
1ddc2b40aa
another attempt at travis fix
5 years ago
Jeff Becker
f29083f765
more travis fixes
5 years ago
Jeff Becker
d880eec1de
ping lokid rpc
5 years ago
jeff
c33324455a
use correct rpc call to lokid
5 years ago
jeff
265da6f37b
use get_service_nodes rpc endpoint
5 years ago
Michael
0721ce4d34
Add rpc call to get current addresses for our node
5 years ago
Michael
01611c2282
Convert RPC endpoint to be a lookup table
5 years ago
Michael
f326c93b5b
Apply Jeff's comments
5 years ago
Michael
15cb49c9bd
Introduce --background to only start JSON RPC
...
fixes #853
5 years ago
Michael
d467e2618b
Support version over jsonrcp
5 years ago
Michael
4d8fe2a8a8
Move meta programming to subdirectory
5 years ago
Michael
1aec0dfa2b
Move logging to subdirectory
5 years ago
Michael
094b697b01
Replace StatusObject with underlying JSON type
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
5 years ago
Michael
488695047f
Remove redundant else blocks
5 years ago
Michael
75430a234c
Convert to use memFn
5 years ago
Jeff Becker
1e57a7082d
don't log ips
5 years ago
Jeff Becker
372bc40032
add member to rpc response indicating weither or not a peer is a service node
5 years ago
Jeff Becker
8484e29c9b
turn more stuff into std::shared_ptr
...
remove dead codepaths
6 years ago
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
6 years ago
Jeff Becker
5399b93270
make format and readd win32 console color logging
6 years ago
Jeff
97b9c679b0
don't use bootstrap nodes for first hops in paths
6 years ago
Jeff Becker
990049f423
make rpc do basic auth and shit like that
6 years ago
Michael
31441b46dc
Convert from rapidjson to use nlohmann::json
6 years ago
Jeff Becker
86098b198f
clear errno and log invalid data
6 years ago
Michael
4fb2b39f74
Format changes
6 years ago
Michael
4132f883a7
Make libabyss mandatory
6 years ago
Michael
a0125ffe86
Move abyss/json to llarp/util/json
6 years ago
Jeff Becker
1d958d95de
* make rpc compile right
...
* make link sessions introspectable
* make utp write buffers fully flush each tick
6 years ago
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
6 years ago
Jeff
555711b70d
Merge pull request #303 from michael-loki/no_new
...
Replace usage of new/delete with unique_ptr/stack allocation
6 years ago
Jeff Becker
46222df421
refactor
6 years ago
Michael
67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation
6 years ago
Jeff Becker
e1fceb3636
fix it (again)
6 years ago
Jeff Becker
66753430ad
fix it
6 years ago
Jeff Becker
e1522faeaa
add introspection rpc endpoint
6 years ago
Michael
729cd045f1
Convert llarp::Router into an abstract base class
6 years ago
Jeff Becker
18c4107ff6
* wire up jsonrpc caller for lokid integration
...
* add jsonrpc caller http basic auth
6 years ago
Jeff Becker
519cec50ac
update libabyss rpc endpoints for service nodes
6 years ago
Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
6 years ago