Jason Rhinelander
0a60b69ef0
Update randomx with arm64 patch
2021-02-16 18:56:15 -04:00
Alex Opie
049de234e0
Drop log level of wallet-closing logs
...
#1398
2021-02-02 21:40:27 -04:00
Alex Opie
f218e988a6
Always close the wallet the same way, and safely
...
This especially includes stopping the long-poll
loop thread, which otherwise causes a segfault.
Fixes #1398
2021-02-02 21:40:27 -04:00
Alex Opie
3e9f10f4ab
Initialise m_should_use_bootstrap_daemon
...
This boolean is otherwise uninitialised, leading
to unpredictable behaviour.
Fixes #1400
2021-02-02 19:01:35 -04:00
Sean Darcy
c74fee0643
update loki-mq
2021-01-19 11:48:46 -04:00
Sean Darcy
bacd5381f0
update gitmodules for randomxl
2021-01-19 11:48:46 -04:00
Jason Rhinelander
9d3616b36c
Fix oxenmq link lib in epee
2021-01-14 21:29:03 -04:00
Jason Rhinelander
466a1317d2
Rename lokimq -> oxenmq
2021-01-14 19:35:00 -04:00
Jason Rhinelander
e4ad50e1b3
Fix another potential windows rename failure
2021-01-14 12:49:00 -04:00
Jason Rhinelander
2861648627
Merge remote-tracking branch 'origin/stable' into dev
2021-01-08 19:36:58 -04:00
Jason Rhinelander
29bbb61d1e
Merge pull request #1388 from jagerman/android-strip
...
Strip android libs, disable trezor & protobuf
2021-01-08 19:34:40 -04:00
Jason Rhinelander
2bf3909d39
Disable android x86 build
...
It isn't properly supported by flutter, and it is very rare android
arch anyway.
2021-01-08 19:18:57 -04:00
Jason Rhinelander
91a4e7f2df
Make ios static lib match android static lib name
2021-01-08 18:16:06 -04:00
Jason Rhinelander
265dca70ed
Remove mining-related functions from wallet api
2021-01-08 18:16:06 -04:00
Jason Rhinelander
37159b2ba0
Export symbols and strip debug symbols from android static lib
...
This massively reduces the size.
2021-01-08 18:15:25 -04:00
Jason Rhinelander
599eeac302
Remove protobuf from deps list
2021-01-08 18:15:25 -04:00
Jason Rhinelander
eca6b6ad8d
Disable Trezor by default
...
Trezor support currently doesn't work (Trezor's hardware wallet is
hard-coded for a Monero net-id), and this saves needing to muck around
with protobuf.
2021-01-08 18:15:25 -04:00
Jason Rhinelander
5c1e1a1f8c
Merge pull request #1387 from jagerman/v815
...
Backport Oxen rebrand and other appropriate changes from dev for 8.1.5 release
2021-01-07 23:50:51 -04:00
Jason Rhinelander
4a87622a8e
Fix a couple missed .oxen LNS suffixes
2021-01-07 23:50:27 -04:00
Jason Rhinelander
43b7ab3866
Fix a couple missed .oxen LNS suffixes
2021-01-07 23:16:09 -04:00
Jason Rhinelander
645ce86393
Bump version to 8.1.5
2021-01-07 18:43:40 -04:00
Jason Rhinelander
db58370e87
Config file migration fixes
...
The loki.conf -> oxen.conf migration wasn't working right when there is
also a ~/.loki -> ~/.oxen migration happening, so this rewrites it to
work properly:
- Make loki.conf -> oxen.conf migration leave behind a symlink
- Fix config file migration to also look for ~/.loki/loki.conf, and also
consider ~/.loki/oxen.conf as a valid load source. (The ~/.loki
consideration only happens when data-dir is default *and* neither
oxen.conf nor loki.conf are found in ~/.oxen).
- *Don't* look for ~/.loki/{loki,oxen}.conf if the default data dir
(~/.oxen) exists.
Other changes:
- remove the default handling for the config file/log file and put it in
main instead. This is non-trivial, and the existing default is broken
in that if you specify `--data-dir=blah` it still tries to load
`~/.oxen/oxen.conf` rather than `blah/oxen.conf`. With this commit it
now does the expected thing when a data-dir is specified.
- Append /regtest to data-dir when running in --regtest mode. The
existing behaviour of clobbering the mainnet data dir is nasty.
2021-01-07 18:40:22 -04:00
Jason Rhinelander
1bde385c59
Eliminate tools::create_directories_if_necessary
...
We shouldn't actually use it in `main.cpp` because it is called before
the log system is initialized, and it is a wrapper that saves basically
nothing, so just replace it everywhere with direct calls to
fs::create_directories and delete it.
2021-01-07 18:40:22 -04:00
Sean Darcy
abc7c5edca
oxen name system back to passing tests
2021-01-07 18:40:22 -04:00
Sean Darcy
b08489648f
line break
2021-01-07 18:40:22 -04:00
Sean Darcy
e3319dcfda
make lokid.sock and move the .oxen folder migration to before logs initialise folder
2021-01-07 18:40:22 -04:00
Sean Darcy
ae80adb5b1
default directory migration, .loki -> .oxen moved to .main
2021-01-07 18:40:22 -04:00
Jason Rhinelander
27e205d590
Rename loki.conf -> oxen.conf when appropriate
...
Requires:
- config-file argument is not given
- default DATA/oxen.conf does not exist
- old DATA/loki.conf does exist
2021-01-07 18:40:22 -04:00
Jason Rhinelander
e7bbd5e2e7
Add some color in main.cpp before log init
2021-01-07 18:40:22 -04:00
Jason Rhinelander
0d51ca6bba
Revert .oxen back to .loki in lns unit tests
2021-01-07 18:40:22 -04:00
Jason Rhinelander
3261f7015b
Change Loki startup message from green -> cyan
2021-01-07 18:40:22 -04:00
Jason Rhinelander
d19d8dd0ee
Update default ipc socket in lmq-rpc.py
2021-01-07 18:40:22 -04:00
Jason Rhinelander
942bcbef05
Change Jason.oxen -> Blocks.loki in lmq lookup example script
2021-01-07 18:40:22 -04:00
Sean Darcy
fa4e010c3f
handle .loki directory, leave .loki namespace
2021-01-07 18:40:22 -04:00
Sean Darcy
e86a039260
poor grammar
2021-01-07 18:40:22 -04:00
Sean Darcy
d0c47ac339
straighten ascii
2021-01-07 18:40:22 -04:00
Sean Darcy
c04276fab4
ascii art
2021-01-07 18:40:22 -04:00
Sean Darcy
b8629f913c
tests
2021-01-07 18:40:22 -04:00
Sean Darcy
d37a6e88c9
Drone static upload still looking for loki executables
2021-01-07 18:40:22 -04:00
Sean Darcy
441f412ca0
previously used an old monero log version
2021-01-07 18:40:22 -04:00
Sean Darcy
2822747a62
lokinet revert
2021-01-07 18:40:22 -04:00
Sean Darcy
ccd712542d
executable names changed
2021-01-07 18:40:18 -04:00
Sean Darcy
cbc5fa917c
compiles
2021-01-07 18:39:01 -04:00
Sean Darcy
0912221329
initial loki -> oxen pass
2021-01-07 18:39:01 -04:00
Jason Rhinelander
c77278173c
Update dependencies to latest stable versions
...
I tried to update protobuf as well, but it doesn't compile on mingw, so
leave it as-is for now.
2021-01-07 18:37:52 -04:00
Jason Rhinelander
5c9ed9b61d
Fix android tarfile creation
2021-01-07 18:37:52 -04:00
Jason Rhinelander
d3b08c4a5e
builds.lokinet.dev -> oxen.rocks
2021-01-07 18:37:52 -04:00
Jason Rhinelander
2d2e7c53ac
Add 'include' & 'lib' dirs into android deps archive
...
This makes it directly extractable into what the new android wallet
expects (and matches the ios archive, aside from the arch subdirs).
2021-01-07 18:37:52 -04:00
Jason Rhinelander
cdf62b2377
Remove all but the wallet2_api header for ios
...
The new ios wallet now uses the wallet2_api.h rather than directly
including core loki headers which greatly simplifies what we have to
package.
2021-01-07 18:37:52 -04:00
Jason Rhinelander
da1cb9803c
Add optional stake amount calculation to rpc
...
Currently stake amounts are not exposed via RPC, although they *are*
public knowledge. This adds an optional "stake_info" request field to
GET_TRANSACTIONS and GET_TRANSACTION_POOL which, if enabled, calculates
the staked amount and sets it in the response.
2021-01-07 18:35:49 -04:00