-
cohcho
First successful response from pool operator who found address of hidden miner proxy by job
-
cohcho
It has few MH/s now and earned 100XMR so far
-
cohcho
only 21 days old
-
koe
do miners updated the hashing blob when new transactions are discovered?
-
cohcho
No,True for all pools listed at miningpoolstats.stream at least within first 2 minutes
-
cohcho
Then it varies, but most still don't update on tx
-
cohcho
Some states that has custom trigger for reward change (not single new tx)
-
koe
Isthmus ^
-
koe
Since minimum fees per block are less than 1USD within the penalty free zone, that isn't significant for miner income. It is significant for fingerprinting mining software.
-
cohcho
I have potentially bad news
-
gingeropolous
whats that
-
gingeropolous
the anticipation is killing me
-
moneromooo
That's things you did not know of before which are going to disappoint you, but let's not get sidetracked...
-
gingeropolous
i guess i'll have to guess then
-
gingeropolous
cohcho, im on the edge of my keyboard!
-
gingeropolous
and highly caffeinated!
-
fort3hlulz
-
cohcho
It's related to rx_slow_hash and affects only those who call rx_slow_hash with miners != 0 and has rx_dataset == nullptr (lack of memory or MONERO_RANDOMX_MASK = 4).
-
cohcho
Validation in monerod isn't affected.
-
cohcho
-
cohcho
patch to fix probably the last problem with randomx integration
-
Isthmus
Ooh interesting, thanks for looping me in @koe
-
cohcho
monero-pool launched with MONERO_RANDOMX_MASK=4 rejected 40 minutes of my valid hashrate
-
cohcho
someone reported problems in monero-pool with share validations by supportxmr.com
-
cohcho
s/monero-pool with//
-
cohcho
pop blocks to have ( height % 2048 < 63), launch MONERO_RANDOMX_MASK=4 monerod --fixed-difficulty=256 (something bigger than 1 to not accept random PoW and to have small diff) , start mining
-
tevador
btw, i7-9850H (laptop CPU) = 3500 H/s, not bad
-
tevador
let's see if the laptop doesn't burn if I let it mine for a couple days
-
cohcho
How are you running i7-9850H within a laptop?
-
cohcho
Is it 100% frequency + turbo?
-
cohcho
(laptop CPU) <- within laptop or not?
-
tevador
it's in a laptop (Dell)
-
tevador
base frequency is 2.6 GHz, but it mines at around 3.2 GHz
-
tevador
cohcho: btw I'm pretty sure the flag is MONERO_RANDOMX_UMASK
-
tevador
-
cohcho
yes, UMASK
-
cohcho
I didn't copy/paste from terminal
-
cohcho
typo
-
cohcho
What did you mean with 'and ...'?
-
cohcho
That code will not be used in that rare case since rx_vm != NULL
-
tevador
it will set miners to 0
-
cohcho
Try to ren mining as I've described
-
cohcho
It's just 3 blocks
-
cohcho
to run*
-
cohcho
That problem has not been added/fixed by your commit
-
tevador
a better fix would be to set miners to 0 if dataset allocation fails
-
cohcho
"a better fix" write commit, paste it somewhere and i'll tell what's wrong
-
tevador
soon (tm)
-
cohcho
Do you know what are we going to do with identified botnets?
-
cohcho
We will have for sure lower boundary of their hashrate and reward
-
tevador
you can't block botnets, they will just run their own solomining pool
-
tevador
the only solution is for people to fix their broken PCs
-
tevador
*patch
-
cohcho
It's possible to obtain list of their victims and send randomx-sniffer to them probably
-
cohcho
somehow
-
tevador
how do you obtain a list of victims?
-
cohcho
at least IPs
-
tevador
IP of the first NAT
-
cohcho
But in case of NAT it may take much time to deanonymize real pc
-
tevador
welcome to the world of obsolete IPv4
-
cohcho
Yes, the first NAT
-
cohcho
I have plan how to ban them on regular basis in case of working honeypot and some small support from pools
-
cohcho
s/ban them/identify their wallet at pool/
-
tevador
it would work just on low effort botnets mining on public pools
-
cohcho
And the only way to avoid that detection is to do solo mining
-
tevador
and only if pool operators cooperate
-
cohcho
There is simple api that should be implemented
-
cohcho
after that it will be fully automatic
-
cohcho
admin of one pool implemented it within 1 day
-
tevador
but it's not a bad idea to automatically ban addresses if someone submits a valid job for it
-
tevador
that's a pretty good evidence
-
cohcho
of course, since no one legitimate miner will post his job on twitter
-
tevador
and people mining over plain http deserve to get banned
-
cohcho
32 bytes at the of job blob is 100% evidence of miner
-
cohcho
with honeypot + randomx sniffer + some manual investigation for each new sample
-
cohcho
They can use any form of sophisticated obfuscation to hide real ttraffic
-
cohcho
The only we need is to find input to randomx_calculate_hash
-
tevador
the result would be that botnets would move to private pools or pool that don't implement this new API
-
cohcho
pool.find_wallet_by_blob_tx(input[-32:]) == hidden_miner_wallet
-
cohcho
Yes, and we will see them as unknown part
-
cohcho
all of them
-
cohcho
even self-select will not help them
-
cohcho
only solo mining
-
cohcho
or protection from pool operator that share their earnings
-
sech1
solo-mining botnets everywhere... real decentralization!
-
cohcho
It's better to wrap randomx-sniffer into something final, because of every miner or interested in monero human should check pc of his friends with randomx-sniffer.
-
cohcho
It's easy and probably works if there is no way to bypass it.
-
cohcho
trend-micro is sleeping for some reason
-
tevador
look, if people just updated their windows to 1909 and enabled windows security, there would be hardly any botnets left
-
cohcho
Sometimes you need to download untrusted but free software
-
cohcho
and protection with false positives will be disabled in that case
-
tevador
aaaand that's how you get malware
-
cohcho
good scanning tool is much better that protection
-
cohcho
I've lost all my malware since I'm not using windows any more and don't play games.
-
cohcho
I'm excited to finally get hashrate lower boundary of active randomx botnets.
-
tevador
probably way less than everyone thinks
-
sech1
the largest botnet I know of is 15 MH/s
-
cohcho
I remember
-
sech1
-
cohcho
tevador: It would be good evidence of decentralization in case of true
-
cohcho
And of centrelazition in case of false
-
cohcho
centralization*
-
cohcho
jtgrassie: can you write few words about that monero-pool PR: not needed, pending, poorly written?
-
koe
there may be risk of botnet-friendly pools becoming active
-
jtgrassie
cohcho: which PR?
-
cohcho
at jtgrassie/monero-pool
-
cohcho
koe: It depends on the power of those who want to identify botnets. There are some heuristics and ways to obtain proof that concrete pool hides botnets.
-
jtgrassie
you mean #31
-
cohcho
You can create phony botnet attach to pool and ask it's owner to provide address.
-
cohcho
In case of reject you have 100% evidence.
-
cohcho
yes
-
koe
what can you do if there is such a pool though?
-
cohcho
I suppose the same approach as for suspending virtual machine rented for malicious activity.
-
jtgrassie
#31 so a round is a little misleading in so far as you are counting all shares since last found block
-
cohcho
At least complete pool can be marked 100% botnet
-
cohcho
Yes, all shares with timestamp more than timestamp of the last found block.
-
jtgrassie
right, but that doesn't mean they will all be paid out, hence why "round" maybe misleading.
-
jtgrassie
also, you don't need to MDB_PREV_DUP, just start at last and MDB_PREV.
-
cohcho
The definition of round should include all shares between found blocks. Do you have better name?
-
jtgrassie
but thats not quite how PPLNS calculates a round
-
cohcho
I've done test few days ago and MDB_PREV_DUP was required to count all shares even those with equal timestamp. I'll repeat it one more time.
-
cohcho
This statistic is mainly to track current progress in block mining. Not reward distribution
-
jtgrassie
yeah that's what I assumed.
-
jtgrassie
Its not a biggie, just "round" can be misleading if thinking in payout terms.
-
cohcho
Also for PPLNS shares should be iterated in reverse timestamp order, not height order. But in general on mainnet you will not have rare alt chains that shorter but heavier
-
cohcho
s/round/estimate of hashes computed by workers since last found block/
-
cohcho
I don't know short term that match it
-
cohcho
There is also small typo s/startup_pauout/startup_payout/
-
jtgrassie
height is fine for payouts
-
cohcho
always or mostly?
-
cohcho
or from your point of you?
-
jtgrassie
haha
-
jtgrassie
generally you will pay out all shares at height -2. sure there will be straglers, so you're probably right to factor the timestamp
-
jtgrassie
if we were to use timestamp a migration would be wise to use ts as key maybe
-
cohcho
Yes, that change will require migration
-
cohcho
Also db size could be descreased with separate mapping (address -> id) in order to not store 128bytes with each share
-
jtgrassie
yeah there's a couple of places it could be reduced.
-
cohcho
Since my pc isn't very stable I've added mdb_sync_database after store of share, block and payment
-
cohcho
But it's very specific to my environment
-
jtgrassie
I have a local branch with some migration utils so just a case of time
-
jtgrassie
on payouts, it already should factor in timestamp because although the SET is on height, the order of DUPS factor in timestamp
-
jtgrassie
(or used to anyway)
-
jtgrassie
Thus I would use the same loop logc for your "round" calculation. e.g. Use SET on height, loop back to last found block height.
-
jtgrassie
But as you round code currently is is also fine, just would change to go from LAST looping PREV till last mined block time.
-
cohcho
till means include shares with timestamp > or >= ?
-
jtgrassie
>
-
jtgrassie
and MDB_LAST, MDB_PREV works fine.