mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Misc formatting fixes
This commit is contained in:
@@ -59,7 +59,7 @@ fn digest_yield<D: Digest, F: PrimeField>(digest: D, i: usize) -> F {
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Aggregate Schnorr signature as defined in https://eprint.iacr.org/2021/350.
|
/// Aggregate Schnorr signature as defined in <https://eprint.iacr.org/2021/350>.
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
#[derive(Clone, PartialEq, Eq, Debug, Zeroize)]
|
#[derive(Clone, PartialEq, Eq, Debug, Zeroize)]
|
||||||
pub struct SchnorrAggregate<C: Ciphersuite> {
|
pub struct SchnorrAggregate<C: Ciphersuite> {
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ ENV BITCOIN_DATA=/home/bitcoin/.bitcoin
|
|||||||
|
|
||||||
WORKDIR /home/bitcoin
|
WORKDIR /home/bitcoin
|
||||||
|
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk --no-cache add ca-certificates gnupg bash su-exec
|
&& apk --no-cache add ca-certificates gnupg bash su-exec
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ BLOCK_TIME=${BLOCK_TIME:=5}
|
|||||||
# Run Monero
|
# Run Monero
|
||||||
# TODO: Restore Auth
|
# TODO: Restore Auth
|
||||||
monerod --regtest --rpc-access-control-origins * --confirm-external-bind \
|
monerod --regtest --rpc-access-control-origins * --confirm-external-bind \
|
||||||
--rpc-bind-ip=0.0.0.0 --offline --fixed-difficulty=1 \
|
--rpc-bind-ip=0.0.0.0 --offline --fixed-difficulty=1 \
|
||||||
--non-interactive --mining-threads 1 --detach
|
--non-interactive --mining-threads 1 --detach
|
||||||
|
|
||||||
# give time to monerod to start
|
# give time to monerod to start
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ RUN --mount=type=cache,target=/root/.cache/ \
|
|||||||
--mount=type=cache,target=/root/.solc-select \
|
--mount=type=cache,target=/root/.solc-select \
|
||||||
solc-select install 0.8.16
|
solc-select install 0.8.16
|
||||||
RUN --mount=type=cache,target=/root/.cache/ \
|
RUN --mount=type=cache,target=/root/.cache/ \
|
||||||
--mount=type=cache,target=/root/.local/ \
|
--mount=type=cache,target=/root/.local/ \
|
||||||
--mount=type=cache,target=/root/.solc-select \
|
--mount=type=cache,target=/root/.solc-select \
|
||||||
solc-select use 0.8.16
|
solc-select use 0.8.16
|
||||||
|
|
||||||
# Mount cargo and serai cache for Cache & Build
|
# Mount cargo and serai cache for Cache & Build
|
||||||
|
|||||||
Reference in New Issue
Block a user