matteocrippa / matteocrippa/leafminer

problem pool port

Open
#51 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
158
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Main: LeafMiner - v.0.0.17 - (C: 1)
04:09:26.149 > [I] Main: Compiled: Nov 15 2024 02:58:47
04:09:26.149 > [I] Main: Free memory: 36136
04:09:26.149 > [I] Main: ESP8266 - Disable WDT
04:09:26.149 > [I] Storage: Setup: OK
04:09:26.243 > [I] Configuration: wifi_ssid: MOVISTAR_FF45
04:09:26.247 > [I] Configuration: wifi_password:
04:09:26.248 > [I] Configuration: wallet_address: bc1q92ze7gupgjcjkvgelyew8r86tgjldj8082dmj8.btc3
04:09:26.248 > [I] Configuration: pool_password: x
04:09:26.248 > [I] Configuration: pool_url: public-pool.io
04:09:26.265 > [I] Configuration: pool_port: 1073741680
04:09:26.268 > [I] Configuration: blink_enabled: on
04:09:26.268 > [I] Configuration: blink_brightness: 256
04:09:26.268 > [I] Configuration: lcd_on_start: off
04:09:26.280 > [I] Configuration: miner_type:
04:09:26.282 > [I] Configuration: auto_update: on
04:09:26.282 > [I] Blink: Setup
04:09:26.779 > [I] Blink: Blinking 5 times
04:09:27.777 > [I] AutoUpdate: Connecting to MOVISTAR_FF45...
04:09:32.330 > [D] AutoUpdate: payload: {
04:09:32.330 > "current": "0.0.17",
04:09:32.333 > "link": "https://github.com/matteocrippa/leafminer/releases/download/v{{version}}/firmware_{{device}}.bin",
04:09:32.344 > "devices": [
04:09:32.344 > "esp8266",
04:09:32.344 > "esp32",
04:09:32.346 > "esp32-s2",
04:09:32.346 > "esp32-s3",
04:09:32.349 > "geekmagic-smalltv",
04:09:32.351 > "lilygo-t-display-s3"
04:09:32.351 > ]
04:09:32.351 > }
04:09:32.351 >

Configuration: pool_port: 1073741680 <---- The value does not change. The correct value should be 21496 from the pool https://web.public-pool.io/
I have recorded 6 times through visual studio code the value is always the same 1073741680

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the configuration handling that produces the logged `pool_port` value on ESP8266 and reproduce the issue using the supplied serial output. Compare the persistent or parsed value with the expected port 21496 from public-pool.io; done means repeated recordings report the configured port rather than 1073741680.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.