Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY test_data test_data
COPY main.go .

# build backend
RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/core main.go
RUN CGO_CFLAGS="-std=gnu11" GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/core main.go

# create tiny image
FROM alpine:latest
Expand Down
2 changes: 1 addition & 1 deletion lib/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ const (

// DefaultMaxNonceExpirationBlockHeightOffset - default value to which the MaxNonceExpirationBlockHeightOffset
// is set to before specified by ParamUpdater.
DefaultMaxNonceExpirationBlockHeightOffset = 288
DefaultMaxNonceExpirationBlockHeightOffset = 86400 // 1 day

// TODO: Are these fields needed?
// Access group enumeration max recursion depth.
Expand Down
1 change: 1 addition & 0 deletions test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apk add --update bash cmake g++ gcc git make vips vips-dev

COPY --from=golang:1.24-alpine /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"
ENV CGO_CFLAGS="-std=gnu11"

WORKDIR /deso/src/core

Expand Down