This determines how many times the miner will send off transactions to the ETH chain. On the first attempts, you may want to just see if the thing works so what I did was set it to 50 per day and wait until the first few KOINs are mined. After that, you may want to reduce it to maybe once per day or week, depending on your financial situation (each transaction costs ETH and it will quickly add up)!
I've been told that if the miner finds a valid hash, it tries to send it to Ethereum immediately. In fact, if someone were to modify the miner to try and optimize the timing of sending a proof and waits longer than 90 Ethereum blocks, the proof is not accepted by the contract on Ethereum because the proof contains header information from the head block of Ethereum at the time the proof was obtained. 90 blocks on Ethereum corresponds to a few minutes.
Proof Frequency is merely the expected frequency at which a proof is found and sent to the contract on Ethereum. The miner does not store the proofs and thus send them at any regularity.
Posted Using LeoFinance Beta
Thanks for the detail here about the way ETH works and how the miner interacts with it. I had a feeling there was more to it but the way I described was about as much detail as I knew from a total beginner point of view.
Ultimately, I think most won't know how to modify the miner and just use it as it is so what you said in the final sentences will probably be enough
The contract is made so that it rejects old proofs. I think someone asked about it in Discord yesterday and a member of the team answered that old proofs are not accepted. The timing of submitting the proof matters because it varies how much KOIN you get for it.
Thank you so much for the additional info! So if I understand it as you've explained now, you can have the miner running and it will just submit the valid hash to the ETH network straight away, regardless of Proof Frequency. Then it will return KOIN to the miner depending on if the proofs are accepted by the network and the timing of them?
I found this pretty useful too actually, really well explained regarding Proof Frequency:
https://github.com/open-orchard/koinos-gui-miner#understanding-proof-frequency
Yes, when the miner finds a valid hash, it submits the hash (proof) to the mining contract on Ethereum immediately. The Proof Frequency is merely the expected frequency (the time interval that has the highest likelihood between found proofs) at which valid proofs are found at the particular difficulty associated with that Proof Frequency. What the contract on Ethereum does upon being provided a valid proof is that it mints an amount of KOIN ERC-20 tokens primarily depending on the difficulty of mining at the time when the proof was found and sends it to a wallet address specified by the user of the miner.
Perfect, thanks for clarifying all that 😃
If that's true, the frequency number doesn't really matter.
It doesn't except that you have to pay a transaction fee each time your miner sends a proof to the contract on Ethereum. For optimal results in the long term, it would probably be best to only try and solve the hardest problems at the lowest frequency because the mining period is about six months. If you mine at a difficulty level where you're most likely to find one proof per week, your results will still be quite predictable because the mining period is almost 26 weeks long.