-
Notifications
You must be signed in to change notification settings - Fork 1
Add Captive Core block fetcher #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
GabrielCartier
wants to merge
28
commits into
main
Choose a base branch
from
feature/captive-core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f2b2192
Add `fetcher_captive_core.go` for Stellar Captive Core block fetching
billettc d6f8fd0
finish implementation, add devel script
GabrielCartier 02ef254
fixed has and previous hash encoding bug on poller
GabrielCartier 2068aba
added custom network for captive core
GabrielCartier 30a4abd
added network and passphrase flags for custom network
GabrielCartier b638568
fix: address Copilot review feedback
GabrielCartier bdb88b9
pr nits
GabrielCartier 3ca2ede
pr nits
GabrielCartier 5ea9580
move battlefield/testing to main repo
GabrielCartier ea0000a
fixed dockerfile config
GabrielCartier c402c77
updated comments
GabrielCartier 24034c2
fix: address Copilot review feedback on test lib
GabrielCartier 9a3ee26
added fix tool
GabrielCartier 19b6211
fixed fix tool
GabrielCartier da57876
chore: drop unused fields from in-process test fetchers
GabrielCartier ca3bb6b
ci: bump Go to 1.26 to match go.mod toolchain
GabrielCartier d06100f
fix: address Copilot review nits
GabrielCartier 5d8d44c
added compare merged blocks tool
GabrielCartier 0302eeb
fix: address Copilot review nits
GabrielCartier aa22400
added cursor to save state
GabrielCartier 1657c9d
fix: address Copilot review nits; document state-dir/ignore-cursor
GabrielCartier fa28383
fix: preserve large-int precision in snapshot/diff JSON round-trips
GabrielCartier a9e9db2
chore: enforce stellar-core >= 26.1.0-3210.427aa3978 (SDF May 2026 ad…
GabrielCartier e9e8813
fix: handle json.Number in xdr normalizers + tests
GabrielCartier 6a66fa2
fix: also walk current store + restore go-stellar-sdk v0.5.0
GabrielCartier 73d8b23
Potential fix for pull request finding
GabrielCartier a57b631
added one block and remove non-deterministic for compare
GabrielCartier c11d74c
updated test for go 1.26.x
GabrielCartier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| ARG FIRECORE_VERSION=v1.14.1 | ||
|
|
||
| FROM golang:1.26-bookworm AS build | ||
| WORKDIR /app | ||
|
|
||
| # Copy go mod files first for better caching | ||
| COPY go.mod go.sum ./ | ||
| RUN go mod download | ||
|
|
||
| # Copy source code | ||
| COPY . ./ | ||
|
|
||
| # Build the binary with version information | ||
| ARG VERSION="edge" | ||
| ARG BINARY_NAME=firestellar | ||
|
|
||
| RUN go build -v -ldflags "-X main.version=${VERSION}" -o "${BINARY_NAME}" "./cmd/${BINARY_NAME}" | ||
|
|
||
| FROM ghcr.io/streamingfast/firehose-core:${FIRECORE_VERSION} | ||
|
|
||
| ARG BINARY_NAME=firestellar | ||
|
|
||
| # Copy the binary to the firehose-core image | ||
| COPY --from=build "/app/${BINARY_NAME}" "/app/${BINARY_NAME}" | ||
|
|
||
| # We use firecore entrypoint since it's the main application that people should run to setup Firehose stack | ||
| ENTRYPOINT ["/app/firecore"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.