mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-18 08:43:14 +00:00
update CLN version
This commit is contained in:
@ -82,7 +82,7 @@ services:
|
|||||||
network_mode: service:bitcoind
|
network_mode: service:bitcoind
|
||||||
|
|
||||||
coordinator-CLN:
|
coordinator-CLN:
|
||||||
image: elementsproject/lightningd:${CLN_VERSION:-v24.05}
|
image: elementsproject/lightningd:${CLN_VERSION:-v24.08}
|
||||||
restart: always
|
restart: always
|
||||||
container_name: test-coordinator-CLN
|
container_name: test-coordinator-CLN
|
||||||
environment:
|
environment:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM debian:bullseye-slim as builder
|
FROM debian:bullseye-slim as builder
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
ARG LIGHTNINGD_VERSION=v24.05
|
ARG LIGHTNINGD_VERSION=v24.08
|
||||||
RUN apt-get update -qq && \
|
RUN apt-get update -qq && \
|
||||||
apt-get install -qq -y --no-install-recommends \
|
apt-get install -qq -y --no-install-recommends \
|
||||||
autoconf \
|
autoconf \
|
||||||
@ -22,7 +22,7 @@ RUN git clone https://github.com/daywalker90/holdinvoice.git /tmp/holdinvoice
|
|||||||
RUN cd /tmp/holdinvoice \
|
RUN cd /tmp/holdinvoice \
|
||||||
&& cargo build --release
|
&& cargo build --release
|
||||||
|
|
||||||
FROM elementsproject/lightningd:v24.05 as final
|
FROM elementsproject/lightningd:v24.08 as final
|
||||||
|
|
||||||
COPY --from=builder /tmp/holdinvoice/target/release/holdinvoice /tmp/holdinvoice
|
COPY --from=builder /tmp/holdinvoice/target/release/holdinvoice /tmp/holdinvoice
|
||||||
COPY config /tmp/config
|
COPY config /tmp/config
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
info:
|
info:
|
||||||
title: RoboSats REST API
|
title: RoboSats REST API
|
||||||
version: 0.6.3
|
version: 0.7.4
|
||||||
x-logo:
|
x-logo:
|
||||||
url: https://raw.githubusercontent.com/Reckless-Satoshi/robosats/main/frontend/static/assets/images/robosats-0.1.1-banner.png
|
url: https://raw.githubusercontent.com/Reckless-Satoshi/robosats/main/frontend/static/assets/images/robosats-0.1.1-banner.png
|
||||||
backgroundColor: '#FFFFFF'
|
backgroundColor: '#FFFFFF'
|
||||||
@ -1125,7 +1125,6 @@ components:
|
|||||||
status:
|
status:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/StatusEnum'
|
- $ref: '#/components/schemas/StatusEnum'
|
||||||
default: 0
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
maximum: 32767
|
maximum: 32767
|
||||||
created_at:
|
created_at:
|
||||||
@ -1149,7 +1148,6 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
has_range:
|
has_range:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
|
||||||
min_amount:
|
min_amount:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
@ -1162,17 +1160,14 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
payment_method:
|
payment_method:
|
||||||
type: string
|
type: string
|
||||||
default: not specified
|
|
||||||
maxLength: 70
|
maxLength: 70
|
||||||
is_explicit:
|
is_explicit:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
|
||||||
premium:
|
premium:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
|
||||||
nullable: true
|
nullable: true
|
||||||
default: '0.00'
|
|
||||||
satoshis:
|
satoshis:
|
||||||
type: integer
|
type: integer
|
||||||
maximum: 5000000
|
maximum: 5000000
|
||||||
@ -1188,12 +1183,10 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
maximum: 28800
|
maximum: 28800
|
||||||
minimum: 1800
|
minimum: 1800
|
||||||
default: 10799
|
|
||||||
bond_size:
|
bond_size:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
||||||
default: '3.00'
|
|
||||||
latitude:
|
latitude:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
@ -1260,7 +1253,6 @@ components:
|
|||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
|
||||||
nullable: true
|
nullable: true
|
||||||
default: '0.00'
|
|
||||||
satoshis:
|
satoshis:
|
||||||
type: integer
|
type: integer
|
||||||
maximum: 5000000
|
maximum: 5000000
|
||||||
@ -1270,17 +1262,14 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
maximum: 86400
|
maximum: 86400
|
||||||
minimum: 597.6
|
minimum: 597.6
|
||||||
default: 86399
|
|
||||||
escrow_duration:
|
escrow_duration:
|
||||||
type: integer
|
type: integer
|
||||||
maximum: 28800
|
maximum: 28800
|
||||||
minimum: 1800
|
minimum: 1800
|
||||||
default: 10799
|
|
||||||
bond_size:
|
bond_size:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
||||||
default: '3.00'
|
|
||||||
latitude:
|
latitude:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
@ -1320,7 +1309,6 @@ components:
|
|||||||
status:
|
status:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/StatusEnum'
|
- $ref: '#/components/schemas/StatusEnum'
|
||||||
default: 0
|
|
||||||
minimum: 0
|
minimum: 0
|
||||||
maximum: 32767
|
maximum: 32767
|
||||||
created_at:
|
created_at:
|
||||||
@ -1344,7 +1332,6 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
has_range:
|
has_range:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
|
||||||
min_amount:
|
min_amount:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
@ -1357,11 +1344,9 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
payment_method:
|
payment_method:
|
||||||
type: string
|
type: string
|
||||||
default: not specified
|
|
||||||
maxLength: 70
|
maxLength: 70
|
||||||
is_explicit:
|
is_explicit:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
|
||||||
premium:
|
premium:
|
||||||
type: string
|
type: string
|
||||||
description: Premium over the CEX price set by the maker
|
description: Premium over the CEX price set by the maker
|
||||||
@ -1387,7 +1372,6 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
maximum: 28800
|
maximum: 28800
|
||||||
minimum: 1800
|
minimum: 1800
|
||||||
default: 10799
|
|
||||||
total_secs_exp:
|
total_secs_exp:
|
||||||
type: integer
|
type: integer
|
||||||
description: Duration of time (in seconds) to expire, according to the current
|
description: Duration of time (in seconds) to expire, according to the current
|
||||||
@ -1559,12 +1543,10 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
maximum: 86400
|
maximum: 86400
|
||||||
minimum: 597.6
|
minimum: 597.6
|
||||||
default: 86399
|
|
||||||
bond_size:
|
bond_size:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
||||||
default: '3.00'
|
|
||||||
trade_fee_percent:
|
trade_fee_percent:
|
||||||
type: integer
|
type: integer
|
||||||
description: The fee for the trade (fees differ for maker and taker)
|
description: The fee for the trade (fees differ for maker and taker)
|
||||||
@ -1646,7 +1628,6 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
has_range:
|
has_range:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
|
||||||
min_amount:
|
min_amount:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
@ -1659,17 +1640,14 @@ components:
|
|||||||
nullable: true
|
nullable: true
|
||||||
payment_method:
|
payment_method:
|
||||||
type: string
|
type: string
|
||||||
default: not specified
|
|
||||||
maxLength: 70
|
maxLength: 70
|
||||||
is_explicit:
|
is_explicit:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
|
||||||
premium:
|
premium:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
|
||||||
nullable: true
|
nullable: true
|
||||||
default: '0.00'
|
|
||||||
satoshis:
|
satoshis:
|
||||||
type: integer
|
type: integer
|
||||||
maximum: 5000000
|
maximum: 5000000
|
||||||
@ -1693,7 +1671,6 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
maximum: 28800
|
maximum: 28800
|
||||||
minimum: 1800
|
minimum: 1800
|
||||||
default: 10799
|
|
||||||
satoshis_now:
|
satoshis_now:
|
||||||
type: integer
|
type: integer
|
||||||
description: The amount of sats to be traded at the present moment (not
|
description: The amount of sats to be traded at the present moment (not
|
||||||
@ -1702,7 +1679,6 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
|
||||||
default: '3.00'
|
|
||||||
latitude:
|
latitude:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
@ -1939,7 +1915,6 @@ components:
|
|||||||
fee:
|
fee:
|
||||||
type: string
|
type: string
|
||||||
format: decimal
|
format: decimal
|
||||||
default: '0.0000'
|
|
||||||
TypeEnum:
|
TypeEnum:
|
||||||
enum:
|
enum:
|
||||||
- 0
|
- 0
|
||||||
|
@ -11,8 +11,8 @@ curl --parallel -o lightning.proto https://raw.githubusercontent.com/lightningne
|
|||||||
-o signer.proto https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/signrpc/signer.proto \
|
-o signer.proto https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/signrpc/signer.proto \
|
||||||
-o verrpc.proto https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/verrpc/verrpc.proto \
|
-o verrpc.proto https://raw.githubusercontent.com/lightningnetwork/lnd/master/lnrpc/verrpc/verrpc.proto \
|
||||||
-o hold.proto https://raw.githubusercontent.com/daywalker90/holdinvoice/master/proto/hold.proto \
|
-o hold.proto https://raw.githubusercontent.com/daywalker90/holdinvoice/master/proto/hold.proto \
|
||||||
-o primitives.proto https://raw.githubusercontent.com/ElementsProject/lightning/v24.05/cln-grpc/proto/primitives.proto \
|
-o primitives.proto https://raw.githubusercontent.com/ElementsProject/lightning/v24.08/cln-grpc/proto/primitives.proto \
|
||||||
-o node.proto https://raw.githubusercontent.com/ElementsProject/lightning/v24.05/cln-grpc/proto/node.proto
|
-o node.proto https://raw.githubusercontent.com/ElementsProject/lightning/v24.08/cln-grpc/proto/node.proto
|
||||||
|
|
||||||
echo -n "Done\nBuilding api from GRPC specs..."
|
echo -n "Done\nBuilding api from GRPC specs..."
|
||||||
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. lightning.proto invoices.proto router.proto signer.proto verrpc.proto
|
python3 -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. lightning.proto invoices.proto router.proto signer.proto verrpc.proto
|
||||||
|
@ -2,6 +2,6 @@ ROBOSATS_ENVS_FILE=".env-sample"
|
|||||||
|
|
||||||
BITCOIND_VERSION='24.0.1'
|
BITCOIND_VERSION='24.0.1'
|
||||||
LND_VERSION='v0.17.0-beta'
|
LND_VERSION='v0.17.0-beta'
|
||||||
CLN_VERSION='v24.05'
|
CLN_VERSION='v24.08'
|
||||||
REDIS_VERSION='7.2.1'
|
REDIS_VERSION='7.2.1'
|
||||||
POSTGRES_VERSION='14.2'
|
POSTGRES_VERSION='14.2'
|
Reference in New Issue
Block a user