Skip to content

feat: custom mempool url - #1688

Merged
i5hi merged 4 commits into
developfrom
custom-mempool-server
Dec 23, 2025
Merged

feat: custom mempool url#1688
i5hi merged 4 commits into
developfrom
custom-mempool-server

Conversation

@basantagoswami

Copy link
Copy Markdown
Contributor

No description provided.

@basantagoswami

Copy link
Copy Markdown
Contributor Author

I think I need to use inline inserts instead of DatabaseSeeds in schema 10 to 11 where I have added the default mempool URL seeding, but I don't understand exactly why. Other than that, everything else should be fine and the PR is ready to be reviewed

@basantagoswami

basantagoswami commented Dec 22, 2025

Copy link
Copy Markdown
Contributor Author

Implements issue #1569

Comment thread lib/core/storage/migrations/schema_10_to_11.dart Outdated
@basantagoswami

Copy link
Copy Markdown
Contributor Author
  • Added inline inserts to schema_10_to_11.dart
  • Used values from constants.dart in both DatabaseSeeds.seedDefaultMempoolServers and for the inline inserts

}

static Future<void> seedDefaultMempoolServers(SqliteDatabase db) async {
final serversData = [

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be in the contants file and read here.

// Bitcoin mempool
static const bbMempoolUrlPath = 'mempool.bullbitcoin.com';
static const publicMempoolUrlPath = 'mempool.space';
static const publicMempoolUrlPath = 'mempool.space'; // note: not used

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets remove it if we arent using it.

static const bbLiquidMempoolTestnetUrlPath = 'liquid.bullbitcoin.com/testnet';
static const publicLiquidMempoolUrl = 'https://liquid.network';
static const publicLiquidMempoolTestnetUrl = 'https://liquid.network/testnet';
static const publicLiquidMempoolUrl =

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@i5hi
i5hi merged commit d4d6c7a into develop Dec 23, 2025
4 checks passed
@thibistaken
thibistaken deleted the custom-mempool-server branch March 19, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants