mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
3069138475
The lack of locking the connection when making an authenticated request, which is actually two sequential requests, risked another caller making a request in between, invalidating the state. Now, only unauthenticated connections share a connection object.
10 lines
288 B
Bash
Executable file
10 lines
288 B
Bash
Executable file
#!/bin/sh
|
|
|
|
RPC_USER="${RPC_USER:=serai}"
|
|
RPC_PASS="${RPC_PASS:=seraidex}"
|
|
|
|
# Run Monero
|
|
# TODO: Restore Auth
|
|
monerod --non-interactive --regtest --offline --fixed-difficulty=1 \
|
|
--no-zmq --rpc-bind-ip=0.0.0.0 --confirm-external-bind \
|
|
--rpc-access-control-origins * --disable-rpc-ban
|