Post
Topic
Board Development & Technical Discussion
Re: Electrum server on Windows: Fulcrum
by
fairmuffin
on 26/01/2025, 19:30:10 UTC
Thanks for looking, I am proceeding with that; hopefully it won't take long, it took me a whole week to sync it :s

Unfortunately, it will take some time, so be prepared with patience.
After doing that, you should be ok, but feel free to post here again, after finishing the re-indexing process.

I have just let my bitcoin code sync up to 606010 and added this line to the Bitcoin config file:

Code:
connect=0

As I don't need to reach current block height. Fulcrum seems to be fully synced, as I am getting this:

Code:
[2025-01-26 18:20:49.006] Loading database ...
[2025-01-26 18:20:49.202] DB memory: 512.00 MiB
[2025-01-26 18:20:49.206] Coin: BTC
[2025-01-26 18:20:49.207] Chain: main
[2025-01-26 18:20:49.207] Verifying headers ...
[2025-01-26 18:20:49.727] Initializing header merkle cache ...
[2025-01-26 18:20:49.963] Checking tx counts ...
[2025-01-26 18:20:51.178] 479411650 total transactions
[2025-01-26 18:20:51.179] UTXO set: 63772347 utxos, 5356.877 MB
[2025-01-26 18:20:51.194] DB version: v3
[2025-01-26 18:20:51.204] BitcoinDMgr: starting 3 bitcoin RPC clients ...
[2025-01-26 18:20:51.204] BitcoinDMgr: started ok
[2025-01-26 18:20:51.205] Stats HTTP: starting 1 server ...
[2025-01-26 18:20:51.205] Starting listener service for HttpSrv 127.0.0.1:8080 ...
[2025-01-26 18:20:51.209] Service started, listening for connections on 127.0.0.1:8080

However, I am not sure how to use it to query balances for examples? I tried using it with BTC RPC Explorer but I get this error:

Code:
[2025-01-26 18:52:41.213] <HttpSrv 127.0.0.1:8080> Client: 127.0.0.1:49646; Invalid request: {"id": 1, "method": "blockchain.address.get_balance", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"]}

I also tried to use it as an Electrum server, but then the console prints:

Code:
[2025-01-26 20:24:18.297] <HttpSrv 127.0.0.1:8080> Client: 127.0.0.1:62656; Invalid request:

What am I doing wrong?