hack-ink / atomicalsir

Atomicals mining engine written in pure Rust.
GNU General Public License v3.0
195 stars 71 forks source link

Error: exceeded maximum retries #55

Open cryptomrsj opened 7 months ago

cryptomrsj commented 7 months ago

更新了最新代码重新编译后,DEBUG模式后运行就出现Error: exceeded maximum retries,CPU没有波动。正常模式运行直接卡住不提示。 PR:上一个修复gas fee不平衡的版本运行正常,但打darkmatter这种难度的项目,一段时间后会崩溃,难度低耗时低的项目速度很快。 ------------MACBOOK:M1 MACOS:14.2.1

AurevoirXavier commented 7 months ago

The atomicals testnet electrumx is really unstable. I can't do any tests right now. It looks like I've to run a BTC testnet node myself.

cryptomrsj commented 7 months ago

感谢你的无私分享,马上来的无限难度协议更新会引发算力战,届时应该会开始拼硬件,官方版本的JS对 百核以上支持还是不到位,随时崩溃,我去测试atomicalsir后来反馈。 希望atomicalsir能拔得头筹!再次感谢!

JelloHuang commented 7 months ago

感谢你的无私分享,马上来的无限难度协议更新会引发算力战,届时应该会开始拼硬件,官方版本的JS对 百核以上支持还是不到位,随时崩溃,我去测试atomicalsir后来反馈。 希望atomicalsir能拔得头筹!再次感谢!

what is the problem?i run well in 100+core

JelloHuang commented 7 months ago

RUST_LOG=atomicalsir=debug ./atomicalsir --fee-bound 33,38 --ticker btcsoul --rust-engine ./wallets --electrumx https://ep.nextdao.xyz/proxy 2024-01-30T04:19:00.397142Z INFO atomicalsir::wallet: loaded wallet: ./wallets/wallet.json Error: exceeded maximum retries

can not run

cryptomrsj commented 7 months ago

It seems that we have encountered the same problem. I haven't found the reason yet. we can only wait for AurevoirXavier to update.

AurevoirXavier commented 7 months ago

Use RUST_LOG=atomicalsir=debug,atomicals_electrumx=debug if you are using the latest version.

I'm sorry that I don't have any available BTC to test this on mainnet right now.

JelloHuang commented 7 months ago

RUST_LOG=atomicalsir=debug,atomicals_electrumx=debug ./atomicalsir --rust-engine ./wallets --fee-bound 33,33 --ticker btcsoul --electrumx https://ep.nextdao.xyz/proxy 2024-01-30T14:51:33.452467Z INFO atomicalsir::wallet: loaded wallet: ./wallets/wallet.json 2024-01-30T14:51:34.993912Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: missing field response at line 1 column 80

JelloHuang commented 7 months ago

i send some bitcoin for test ?pls provide address,thx.i am not familiar with rust ,plan to write with c

Use RUST_LOG=atomicalsir=debug,atomicals_electrumx=debug if you are using the latest version.

I'm sorry that I don't have any available BTC to test this on mainnet right now.

JelloHuang commented 7 months ago

try different end point

RUST_LOG=atomicalsir=debug,atomicals_electrumx=debug ./atomicalsir --rust-engine ./wallets --fee-bound 33,38 --ticker btcsoul --electrumx https://ep.atomicalmarket.com/proxy 2024-01-30T14:55:45.123085Z INFO atomicalsir::wallet: loaded wallet: ./wallets/wallet.json 2024-01-30T14:55:46.112359Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: expected value at line 1 column 1 2024-01-30T14:55:51.356654Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: expected value at line 1 column 1 2024-01-30T14:55:56.611925Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: expected value at line 1 column 1 2024-01-30T14:56:01.866807Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: expected value at line 1 column 1 2024-01-30T14:56:07.117576Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: expected value at line 1 column 1 ^C

JelloHuang commented 7 months ago

Hi AurevoirXavier , any available pre version for test ?

JelloHuang commented 7 months ago

any workaround solution or we need to setup endpoint in private ?

AurevoirXavier commented 7 months ago

RUST_LOG=atomicalsir=debug,atomicals_electrumx=debug ./atomicalsir --rust-engine ./wallets --fee-bound 33,33 --ticker btcsoul --electrumx ep.nextdao.xyz/proxy 2024-01-30T14:51:33.452467Z INFO atomicalsir::wallet: loaded wallet: ./wallets/wallet.json 2024-01-30T14:51:34.993912Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: missing field response at line 1 column 80

any workaround solution or we need to setup endpoint in private ?

Same problem, a private electrumx server is recommended.

https://github.com/Next-DAO/atomicals-electrumx-docker


i send some bitcoin for test ?pls provide address,thx.i am not familiar with rust ,plan to write with c

I appreciate that. If you can provide an email address, I'll send it to you.

JelloHuang commented 6 months ago

RUST_LOG=atomicalsir=debug,atomicals_electrumx=debug ./atomicalsir --rust-engine ./wallets --fee-bound 33,33 --ticker btcsoul --electrumx ep.nextdao.xyz/proxy 2024-01-30T14:51:33.452467Z INFO atomicalsir::wallet: loaded wallet: ./wallets/wallet.json 2024-01-30T14:51:34.993912Z ERROR atomicals_electrumx: failed to parse response into JSON due to error decoding response body: missing field response at line 1 column 80 any workaround solution or we need to setup endpoint in private ?

Same problem, a private electrumx server is recommended.

https://github.com/Next-DAO/atomicals-electrumx-docker

i send some bitcoin for test ?pls provide address,thx.i am not familiar with rust ,plan to write with c

I appreciate that. If you can provide an email address, I'll send it to you.

sorry,i am back,pls send u mail,i will contact with. u

JayWu7 commented 6 months ago

@JelloHuang Did you resolve it? I met the same issue

AurevoirXavier commented 6 months ago

sorry,i am back,pls send u mail,i will contact with. u

xavier@inv.cafe

JayWu7 commented 6 months ago

is the bug solved? Still can't mint use your code bro