ore-cli's People
Forkers
rajivpo tradefortendies manofdiligence levicook omidaladini jsblair9 dyxushuai kadrkn asktree ritrafa klinola yanowo cosmosoutman gbbits weirongbo dead-pool-aka-wilson kidacrypto bluntworks gmh5225 erick785 jaxiii 1997roylee kevarifin14 jonathanemorales cuongtuanvu nowherekai temp-dev-69 charles-chenzz kongminhao hellodword fhshgddjs sing1ee okeyzero flyingdododo mrdacong hengaoxing233 kkthmyh tonton-sol jstnw10 washedev aheesh v1aas jovicheng genmoe danyatheslayer minmaxxing 0xyakiniku isaiahbjork wayneliang hkshiqi tasmev kamda-cyrial suihuan ldd123 21e8 cryptostraps lingsansui hooliday3 as682 chainsona crazysergo jackgoh austbot pyz4 cloakd sheeptext thorlutions-dev iurage paulynmacalino szem1bem8 xliudon truebloodedbs ns5troghr tombadurats dtmrc acesen homageset a16ztt 0xpotatoofdoom mgcnb666 cryptopavelsan yoioooo perrornet nypam auroraug mrkkmrkk iambusy wnddan 9840144 cornking2020 clarysf ysfyf alxsbr2411 joshdayax kotamadelin ysfadlaa minmin2411 hutansilon sungaiglasis gunungtraviaore-cli's Issues
Computational budget exceeded
RpcError(RpcResponseError { code: -32603, message: "Internal error", data: Empty }
Program Error: "Instruction #3 Failed - null"
almost my error tx enterd this error, could anyone explane it for me please ?
Program mineRHF5r6S7HyD9SppBfVMXMavDkJsxwGesEvxZr2A failed: custom program error: 0x3"]
Some simulations return this error. Any idea on 0x3? Its ATA related?
preflight filters it from getting into the chain now, but its happens a lot, before sending a good tx.
Error Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Error processing Instruction 3: custom program error: 0x3", data: SendTransactionPreflightFailure(RpcSimulateTransactionResult { err: Some(InstructionError(3, Custom(3))), logs: Some(["Program 11111111111111111111111111111111 invoke [1]", "Program 11111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program ComputeBudget111111111111111111111111111111 invoke [1]", "Program ComputeBudget111111111111111111111111111111 success", "Program mineRHF5r6S7HyD9SppBfVMXMavDkJsxwGesEvxZr2A invoke [1]", "Program mineRHF5r6S7HyD9SppBfVMXMavDkJsxwGesEvxZr2A consumed 1856 of 2750 compute units", "Program mineRHF5r6S7HyD9SppBfVMXMavDkJsxwGesEvxZr2A failed: custom program error: 0x3"]), accounts: None, units_consumed: Some(450), return_data: None, inner_instructions: None }) }) }
Propose: Threads should support submit transaction. It's only support searching hash now.
Bump rust toolchain to 1.76.0 ?
Is there a reason why you are using 1.74.0? Cannot build using Solana 1.18.9 release.
Unknown: Unknown (Program Error: "null")
InvalidAccountOwner when claiming
Confirms: [Some(TransactionStatus { slot: 258322725, confirmations: Some(0), status: Err(InstructionError(2, InvalidAccountOwner)), err: Some(InstructionError(2, InvalidAccountOwner)), confirmation_status: Some(Confirmed) }), Some(TransactionStatus { slot: 258322723, confirmations: Some(1), status: Err(InstructionError(2, InvalidAccountOwner)), err: Some(InstructionError(2, InvalidAccountOwner)), confirmation_status: Some(Confirmed) }), None, None]
Transaction landed!
Claimed 3.12364093 ORE to account DVefbHqaRGT3NSAX2S5snLdQpzNroirZaLWxLea75Mg
3kK6xUHtRmMw8vTjKqnZsJ64SHLP6pxzphhJ1at7FcsTv4PWZRLBq58BqiCoPXD6arbtCHaeQ53ZCg8vsWwMTPah
I think the problem is that it initialized the sub account but didnt fund it? Not quite sure how to go about fixing it, hoping someone can help
Transaction failed: Error { request: None, kind: Custom("Max retries") }
thread 'main' panicked at C:\Users\ADMIN.cargo\registry\src\index.crates.io-6f17d22bba15001f\ore-cli-0.4.4\src\register.rs:27:14:
Transaction failed: Error { request: None, kind: Custom("Max retries") }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
--priority-fee not working its sending txn in low fees
the same as heading tested on new builds too
Can't claim reward
Can't claim reward.
I can mine, but can't claim reward.
It never lands for the claiming...
Whether macOS, Windows 10.
- macOS: M1 Max
- Windows: Ryzen R7 5800X
Max retries
Computational budget exceeded
Program consumed: 700 of 700 compute units
Program returned error: "Computational budget exceeded"
Transaction did not land , plz help
Confirms: [None, None]
Confirms: [None, None]
Confirms: [None, None]
Confirms: [None, None]
Transaction did not land
Attempt: 2
XGmxxZg2LZp3FSbq7ATCUE7t7s3GFCYGkigsCEvKUBsdWrGTTL7L6pkbQ5eCQnC5oWpPCwu7CNw6HHuDA4cA3cM
Confirms: [None, None, None]
Confirms: [None, None, None]
Confirms: [None, None, None]
Confirms: [None, None, None]
Transaction did not land
Attempt: 3
2t5W7bFp5z9hNroeP6UgajETYGybg6EET836WhhEsv5Pq1FNP4DwMg2UY2nbhn4Yh6PqV1GKgtDL7JWbqi29fLqe
Confirms: [None, None, None, None]
Confirms: [None, None, None, None]
Confirms: [None, None, None, None]
Confirms: [None, None, None, None]
Transaction did not land
Attempt: 4
2L6d4eKpTnotxZv8awuLzj5EXPz9qBfKBHpuv9kZTUA4YY1SUPiCiCnye76J55vwwhovYN99Pd2NfjxLFT4FFFxj
Confirms: [None, None, None, None, None]
Confirms: [None, None, None, None, None]
Confirms: [None, None, None, None, None]
Confirms: [None, None, None, None, None]
Transaction did not land
Max retries at attempt 4
Attempt: 4
4BtVbgZSuhAse9TEvKC9ihVZ7J9cZ1Va2SMiQaSobjgmz2pTm4K9uf8v7hQi5h9tuMgNhFQAcHcv2oTGUe2TS4Cp
Confirms: [None, None, None, None, None]
Confirms: [None, None, None, None, None]
Confirms: [None, None, None, None, None]
Confirms: [None, None, None, None, None]
Transaction did not land
thread 'main' panicked at /home/giga/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ore-cli-0.4.2/src/register.rs:27:14:
Transaction failed: Error { request: None, kind: Custom("Max retries") }
Ever :)
Recommendation after 0.4.9
So I have two machines, A uses 0.4.9
, and B uses 0.4.4
.
Because of the modification in 0.4.9
the mining speed of A machine us around 0.4-0.7x of B, tested over 8h of time.
Additionally, for the 0.4.9
version, there is a bug in checking balance or rewards:
❯ ore --keypair ~/.config/solana/id.json balance
Error { request: None, kind: RpcError(ForUser("Account could not be parsed as token account: pubkey=HiYdZP1Dqgb6evkg31w9cVVD9kp8zs1F6vAgCEavdyfx")) }
where the pub key is not associated with my account. (0.4.4
works all fine).
Recommendation:
- Increase the difficulty of mining (I assume this means finding a valid hash).
- Bug fix of the above mentioned issue.
- Disable the request of version <
0.4.9
so that the network load can also be reduced.
Transaction failed: Error { request: None, kind: Custom("Sim failed") }
thread 'main' panicked at /Users/USER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ore-cli-0.4.0/src/mine.rs:89:26:
Transaction failed: Error { request: None, kind: Custom("Sim failed") }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This is a recurring error here.
Maybe try catch this and put some attempts before closing the process, since simulations may vary on network conditions and can work right up in the next attempt.
I'll try to open a PR later on. Reporting here so maybe someone can fix it earlier.
pcRequestError("cluster version query failed: builder error: relative URL without a base")) }
Running
Generating challenge...
thread 'main' panicked at C:\Users\g.cargo\registry\src\index.crates.io-6f17d22bba15001f\ore-cli-0.4.4\src\send_and_confirm.rs:40:14:
called Result::unwrap()
on an Err
value: Error { request: None, kind: RpcError(RpcRequestError("cluster version query failed: builder error: relative URL without a base")) }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Exited
shell we make a release.
make a release.
so that we don't need to compile it.
save some time.
I'm
RPC Errors
I just pulled the latest version and transactions seem to be landing better now but giv me RPC errors.
"RPC response error -32002: Transaction simulation failed: Blockhash not found "
"RPC response error -32002: Transaction simulation failed: Error processing Instruction 2: custom program error: 0x5 [7 log messages]"
Feature - Parallel mining transactions
I cannot write rust, but i was thinking about how to make the process more efficient.
- Mining happens in its own thread and hashes that match gets saved in memory/list
- A seperate process that handles the send transaction and get signature events.
- That process needs to be able to send transactions parallel / async requests
Also the ability to set in parameter how often it checks the tx since rn, it uses a bunch of RPC calls that might be unnecessary.
This would maybe cause more problems with congestion, but that'd make the mining more efficient i think.
Build error: could not compile `libsecp256k1` (lib)
ubuntu22 build error:
Caused by:
process didn't exit successfully: /root/.rustup/toolchains/1.74.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name libsecp256k1 --edition=2018 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=134 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="hmac"' --cfg 'feature="hmac-drbg"' --cfg 'feature="sha2"' --cfg 'feature="static-context"' --cfg 'feature="std"' --cfg 'feature="typenum"' -C metadata=c555b3002cdb8abb -C extra-filename=-c555b3002cdb8abb --out-dir /home/ubuntu/ore/target/release/deps -L dependency=/home/ubuntu/ore/target/release/deps --extern arrayref=/home/ubuntu/ore/target/release/deps/libarrayref-e59636b4c6236121.rmeta --extern base64=/home/ubuntu/ore/target/release/deps/libbase64-cddaffa00a92c5e3.rmeta --extern digest=/home/ubuntu/ore/target/release/deps/libdigest-4a9ace02b0ebd513.rmeta --extern hmac_drbg=/home/ubuntu/ore/target/release/deps/libhmac_drbg-55602394ae6ad488.rmeta --extern libsecp256k1_core=/home/ubuntu/ore/target/release/deps/liblibsecp256k1_core-314b0e128e801d67.rmeta --extern rand=/home/ubuntu/ore/target/release/deps/librand-6b546257bc4651e3.rmeta --extern serde=/home/ubuntu/ore/target/release/deps/libserde-f4f893e16f040e24.rmeta --extern sha2=/home/ubuntu/ore/target/release/deps/libsha2-0073a77502ff038c.rmeta --extern typenum=/home/ubuntu/ore/target/release/deps/libtypenum-d30a3e4cef509948.rmeta --cap-lints allow
(signal: 9, SIGKILL: kill)
Transaction did not land
Confirms: [None, None, None, None]
Confirms: [None, None, None, None]
Confirms: [None, None, None, None]
Confirms: [None, None, None, None]
Transaction did not land
Getting error "Err(InstructionError(2, ProgramFailedToComplete))" when claiming ore
When I tried to claim my ore, I got this error.
Confirms: [Some(TransactionStatus {
slot: 258318920, confirmations: Some(0), status: Err(InstructionError(2, ProgramFailedToComplete)), err: Some(InstructionError(2, ProgramFailedToComplete)), confirmation_status: Some(Confirmed)
}), None, None, None]
Account could not be parsed
For first launch got error
$ ore balance
Error { request: None, kind: RpcError(ForUser("Account could not be parsed as token account: pubkey=6....")) }
panic error
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ore-cli-0.4.0/src/mine.rs:89:26:
Transaction failed: Error { request: None, kind: Custom("Sim failed") }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Does mining work?
The fact is that I have 3 instances running, but none of them have mined anything.
I'm sure:
- I have SOL to pay fees
- Accounts have initialized the SPL token
Maybe it's because I'm using Alchemy RPC and not the standard sol mainnet?
Getting"Error { request: None, kind: RpcError(ForUser("Account could not be parsed as token account:"
I got "Error { request: None, kind: RpcError(ForUser("Account could not be parsed as token account:" when i'm run the balance command. Is there a way to fix it?
Failed to get miner account: Error { request: None, kind: RpcError(ForUser("AccountNotFound
does it support Metamask?
I run ./ore mine
not work,
do you know how to config the keypair \ rpc \ config ...
Panic at `register.rs:22:14` with `{ request: None, kind: Custom("Sim failed") }`
❯ ore \
--rpc https://api.mainnet-beta.solana.com \
--keypair ~/.config/solana/id.json \
--priority-fee 1 \
mine \
--threads 4
Generating challenge...
thread 'main' panicked at /Users/-/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ore-cli-0.4.0/src/register.rs:22:14:
Transaction failed: Error { request: None, kind: Custom("Sim failed") }
stack backtrace:
0: rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
3: ore::main::{{closure}}
4: tokio::runtime::park::CachedParkThread::block_on
5: tokio::runtime::context::runtime::enter_runtime
6: tokio::runtime::runtime::Runtime::block_on
7: ore::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
account err
Program Logs
Hide details
#1 Ore Mining Program instruction
Program[ Ore Mining Program ]consumed 2235 of 200000 compute units
Program returned error: Invalid account owner
can't submit hash
After the mining finally starts up, I get:
Balance: Err ORE
Claimable: 0 ORE
Reward rate: 0.000295595 ORE
Mining for a valid hash...
1112ezd5yoxXhQd3B2oYJZyTpJkc3HPZ3HsLH5MqN1Eo
Submitting hash for validation...
thread 'main' panicked at src/utils.rs:18:10:
Failed to get treasury account: Error { request: None, kind: RpcError(ForUser("AccountNotFound: pubkey=xxxxxx: HTTP status server error (503 Service Unavailable) for url (https://go.getblock.io/xxxxxx)")) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It seems like the balance is wrong to start with and then once it finds a hash it throws
Can you please not make any changes?
wozhenshifulenimenzhequn lao liu !!!!!!!!!!!!!!!!!!!
Why did I generate a wallet using "solana keygen new", and then import mnemonics into the Phantom wallet, only to find that the wallet address displayed in the Phantom wallet is different from the pub key generated by "solana keygen new"?
Why did I generate a wallet using "solana keygen new", and then import mnemonics into the Phantom wallet, only to find that the wallet address displayed in the Phantom wallet is different from the pub key generated by "solana keygen new"?
Program returned error: "Invalid account owner"
Program returned error: "Invalid account owner"
Environment: windows 11
Operation: mine
Error TX:
https://solana.fm/tx/3CinkqG6j3HBt5kXTzTgyPAaxgHX6Gq6R1v1GkqQuapuYz7ezh46rXEkCWeiM3FXbBxhSUBWcyHREXa7s2utnSei
Is it because my environment is win11? Can I compile in win10 environment no problem, the architecture is X86 all
Request for Assistance and Clarification: Seeking Guidance on Project Understanding and Community Interaction
Hello everyone,
I'm new to the world of open-source and blockchain mining. While searching for a project to contribute to, I stumbled upon a rising project. However, since it's a new project, I couldn't find many resources or a community to learn from. As a newcomer, I understand that having a clear understanding of the project's structure and processes is essential for making meaningful contributions. Unfortunately, I haven't been able to find adequate resources or an online community where I can seek guidance and clarification.
Could you please explain what this project does and how it interacts with other projects? It would be great to have a better understanding of it.
Is this even Minting ??
Can't claim and create token
STUDY
OBE OPEN THE HOOK
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.