Bitcoin Forum
November 06, 2024, 09:15:20 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 [1758] 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 ... 2250 »
  Print  
Author Topic: KanoPool since 2014 🐈 - PPLNS and Solo 0.5% fee - Worldwide - 2438 blocks  (Read 5351962 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (50 posts by 3+ users deleted.)
kano (OP)
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
February 06, 2018, 06:13:30 AM
 #35141

Anyone who noticed ... the DB restarted again just now.
This is the same cause as the other day.

No mining is affected.

I've not applied the fix yet - though the problem has existed for years, just unlucky I guess it's happened twice in a few days.

Mine on! Smiley

Edit: KanoDB reload completed at 06:16:47 UTC

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
AerialGopher
Jr. Member
*
Offline Offline

Activity: 196
Merit: 4


View Profile
February 06, 2018, 07:30:20 AM
 #35142

Ok Who Shit on the bitcoin and no one wants it anymore?
1 Bitcoin equals
6164.99 US Dollar
AerialGopher
Jr. Member
*
Offline Offline

Activity: 196
Merit: 4


View Profile
February 06, 2018, 08:04:11 AM
 #35143

Off Topic, But interesting:   Telsa is going to put his Roadster on Mars.  13:30 EST TUESDAY Feb 6!!
Whole new meaning to space junk! 

http://www.spacex.com/webcast
http://www.spacex.com/sites/spacex/files/falconheavypresskit_v1.pdf
ppaauu
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 06, 2018, 10:42:17 AM
 #35144

So, I felt the urge to ramble on about Bitcoin again since this block is pissing me off probably as much as everyone else here Smiley

Rather than try to edit in and out of the various posts ... here's how mining works Smiley

Firstly, mining is exactly the same as rolling a dice ... except for the number of possible solutions!
When you roll a dice, you have a 1 in 6 chance of getting a 6.
There's no progress to getting a 6, ever. You either get a 6 or you don't.
One try = yes or no. No history involved.

With Bitcoin the dice actually has 2^256 sides - yeah that's a pretty big number ~1.579x10^77
And ... there's more than one solution that's valid.
Any "side of the dice" that has enough zeros on the front, and is less than a specified value, is a block.
Of that ~1.579x10^77 number, the current difficulty decides how many sides mean we found a block.

The current difficulty is actually "0x176c2146" which is called "bits" and is 4 bytes of the data we hash.
"0x17" = 23 decimal and 32-23 = 9 bytes of leading zeros (i.e. 9 times '00')
The rest is "0x6c2146"
So, what those 2 numbers mean is that any block hash with a hex value of
H=0x0000000000000000006c21460000000000000000000000000000000000000000 or less is a block

and if you divide 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff+1 (~1.579x10^77) by H and divide it again by 0x100000000 (2^32) you will get that network difficulty number:
Nd = 2,603,077,300,218.593
which means that every 2^32 times you roll the Bitcoin dice (i.e. hash a full nonce range) you have a 1 in 2,603,077,300,218.593 chance of finding a block.

... and the reason we divide by 0x100000000 again is that the network difficulty number of 1 represents 2^32 hashes

So ... that's how hashing works, but what are we actually hashing?

I wrote a document about it once, I'll repeat a little bit here:

The structure of a block header is an 80 byte binary data set, defined as follows:
Version                   4 bytes
Previous Block Hash      32 bytes
Merkle Root              32 bytes
Block Time                4 byte Unix Timestamp
Required Hash Difficulty  4 bytes
Hash Nonce                4 bytes

So looking at that we can vary 3 things:
Merkle root, Block Time and Hash Nonce

Normal hashing is to setup everything except the Hash Nonce and then count the Hash Nonce from 0 to 2^32-1 and hash each one.
Hashing the full Nonce range from 0 to 2^32-1 is also called 1 difficulty.

With stratum we can modify the Merkle Root to generate a different block header to hash the Nonce range.
The Merkle Root is a hash tree of the transactions we include in the block, however there's one transaction that we can change with stratum, and that is the coinbase transaction - or the transaction that pays the miner.
In this transaction we only need to make sure that:
1) It's a valid transaction (which is actually pretty random for the coinbase transaction due to the "sig" being allowed to contain almost anything as long as it starts with 'height')
2) It pays out to the expected address we want to receive the generated Bitcoins
3) The amount it pays is correct

So for stratum we put a bunch of other 'nonces' in the coinbase sig, that includes a unique number for each miner, and run the others from 0 up to some specified limit to generate a different coinbase transaction each time, that will generate a unique Merkle Root, to be put in a block header, to be hashed over the full Nonce range.

Thus with the unique number for each miner, and the miner itself following the stratum rules for creating coinbase transactions, the miner can keep generating a large amount of work that isn't expected to run out before the pool sends it new work.

Lastly, every time the miner finds a hash value that is higher than the difficulty specified by the pool, the miner sends the nonce and the "sig" nonces back to the pool.
The pool hashes those nonces with the values it sent to the miner, and thus verifies it's valid, and thus rewards the miner with the difficulty of the work sent to  the miner.

Now one more thing I'll add, that got mention a little while back, is that the miner can't modify the payout address to 'steal' the block.
The reason is that the pool wont get a valid hash of the nonces sent back, so the miner will get no reward. Simple Smiley

Thanks Kano for the explanation  Smiley

"I wrote a document about it once, I'll repeat a little bit here:" <--- You wouldn't happen to have that document somewhere ?, I would be interested in reading it.

Cheers
Judical
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 06, 2018, 01:15:47 PM
 #35145

Anyone who noticed ... the DB restarted again just now.
This is the same cause as the other day.

No mining is affected.

I've not applied the fix yet - though the problem has existed for years, just unlucky I guess it's happened twice in a few days.

Mine on! Smiley

Edit: KanoDB reload completed at 06:16:47 UTC

Each time this happens the CKPool Status app on my phone says that we found a block.
kano (OP)
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
February 06, 2018, 01:26:33 PM
 #35146

Anyone who noticed ... the DB restarted again just now.
This is the same cause as the other day.

No mining is affected.

I've not applied the fix yet - though the problem has existed for years, just unlucky I guess it's happened twice in a few days.

Mine on! Smiley

Edit: KanoDB reload completed at 06:16:47 UTC

Each time this happens the CKPool Status app on my phone says that we found a block.
Sad If only I could make blocks appear like that - though it did often seem that way in the distant past that we'd all too often find blocks on restarts Smiley

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
qrnode
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
February 06, 2018, 01:45:33 PM
 #35147

s9's are available on bitmain's site.

https://shop.bitmain.com/main.htm?lang=en
overcon
Sr. Member
****
Offline Offline

Activity: 393
Merit: 250


911 IT Admin. I keep 911 up so you get help ASAP!


View Profile WWW
February 06, 2018, 02:14:30 PM
 #35148

If they are going to adjust their prices based on BTC going up or whatever, they probably want to adjust it down when it drops.

Donate BTC to: 1PXBBTLqXQnT9qAyWsc51XGj2GUt4WW57x
fjtropepe
Member
**
Offline Offline

Activity: 126
Merit: 10


View Profile
February 06, 2018, 02:16:49 PM
 #35149

If they are going to adjust their prices based on BTC going up or whatever, they probably want to adjust it down when it drops.
They will not do that until the units stop selling.
EncoreMining
Jr. Member
*
Offline Offline

Activity: 77
Merit: 4


View Profile
February 06, 2018, 03:19:03 PM
 #35150

A3 is so cheap. Bet the people who first bought are pissed.
heartlandmining
Jr. Member
*
Offline Offline

Activity: 104
Merit: 5


View Profile
February 06, 2018, 04:21:28 PM
Last edit: February 06, 2018, 04:57:12 PM by heartlandmining
 #35151

A3 is so cheap. Bet the people who first bought are pissed.
Not to belabor an off-topic point, but the A3 is so cheap because it ships in March and it's likely doomed by a soft-fork, directed specifically at the A3, that will render it completely useless for SIA mining.
Warlord3k
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
February 06, 2018, 07:16:04 PM
 #35152

Let us kill this block allready.. Going on 400 hours... sheesh. Fun to run into this on my first mining session.. And the S9... Wow, friggin' jetplane it is!

Now let us all watch the Falcon Heavy Launch.
AerialGopher
Jr. Member
*
Offline Offline

Activity: 196
Merit: 4


View Profile
February 06, 2018, 07:51:07 PM
 #35153

A3 is so cheap. Bet the people who first bought are pissed.

HA  Not me, I traded my A3 for 2 S9's!   Was an awesome deal.!

bigolin
Jr. Member
*
Offline Offline

Activity: 136
Merit: 2


View Profile
February 06, 2018, 07:51:59 PM
 #35154

A3 is so cheap. Bet the people who first bought are pissed.

HA  Not me, I traded my A3 for 2 S9's!   Was an awesome deal.!



straight robbery! Good trade.
BSGMiner
Member
**
Offline Offline

Activity: 490
Merit: 16

1xA921 + 1xA741 + Backup-->1xA6 ;)


View Profile
February 06, 2018, 07:53:49 PM
 #35155

Let us kill this block allready.. Going on 400 hours... sheesh. Fun to run into this on my first mining session.. And the S9... Wow, friggin' jetplane it is!

Now let us all watch the Falcon Heavy Launch.

The good news is we're both ramped up by the time we crack this one.

Looking for a silver lining here, alright?

The BTCest mining pool (<1% fee): KanoPool
***PPLNS rewards averaged over the 5Nd to reduce variance***
Toll-Booth-Jim
Newbie
*
Offline Offline

Activity: 71
Merit: 0


View Profile WWW
February 06, 2018, 08:20:52 PM
 #35156

I won't mess with anything other than BTC and or LTC.  Just bought 2 little LTC miners I'm gonna play with along with getting enough electric to get my E9+ to run with those and my S9 & 721 in my house, I'm def maxing out my breaker box lol have extension cords running through holes I bored out of the walls to get to different rooms to use other breakers.  But yes forget about all of this, it's rocket time!
badger88
Newbie
*
Offline Offline

Activity: 83
Merit: 0


View Profile
February 06, 2018, 08:34:54 PM
 #35157

A3 is so cheap. Bet the people who first bought are pissed.

All that matters is who gets it first and starts mining - by the time the next A3 batches get into the customers hands it will be like the D3

and people were pissed about the D3, but it did raise Dash price

I just hope Siacoin price goes up.....same as dash
NCDiesel
Jr. Member
*
Offline Offline

Activity: 54
Merit: 3


View Profile
February 06, 2018, 08:37:15 PM
 #35158

So, I felt the urge to ramble on about Bitcoin again since this block is pissing me off probably as much as everyone else here Smiley

Rather than try to edit in and out of the various posts ... here's how mining works Smiley

Firstly, mining is exactly the same as rolling a dice ... except for the number of possible solutions!
When you roll a dice, you have a 1 in 6 chance of getting a 6.
There's no progress to getting a 6, ever. You either get a 6 or you don't.
One try = yes or no. No history involved.

With Bitcoin the dice actually has 2^256 sides - yeah that's a pretty big number ~1.579x10^77
And ... there's more than one solution that's valid.
Any "side of the dice" that has enough zeros on the front, and is less than a specified value, is a block.
Of that ~1.579x10^77 number, the current difficulty decides how many sides mean we found a block.

The current difficulty is actually "0x176c2146" which is called "bits" and is 4 bytes of the data we hash.
"0x17" = 23 decimal and 32-23 = 9 bytes of leading zeros (i.e. 9 times '00')
The rest is "0x6c2146"
So, what those 2 numbers mean is that any block hash with a hex value of
H=0x0000000000000000006c21460000000000000000000000000000000000000000 or less is a block

and if you divide 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff+1 (~1.579x10^77) by H and divide it again by 0x100000000 (2^32) you will get that network difficulty number:
Nd = 2,603,077,300,218.593
which means that every 2^32 times you roll the Bitcoin dice (i.e. hash a full nonce range) you have a 1 in 2,603,077,300,218.593 chance of finding a block.

... and the reason we divide by 0x100000000 again is that the network difficulty number of 1 represents 2^32 hashes

So ... that's how hashing works, but what are we actually hashing?

I wrote a document about it once, I'll repeat a little bit here:

The structure of a block header is an 80 byte binary data set, defined as follows:
Version                   4 bytes
Previous Block Hash      32 bytes
Merkle Root              32 bytes
Block Time                4 byte Unix Timestamp
Required Hash Difficulty  4 bytes
Hash Nonce                4 bytes

So looking at that we can vary 3 things:
Merkle root, Block Time and Hash Nonce

Normal hashing is to setup everything except the Hash Nonce and then count the Hash Nonce from 0 to 2^32-1 and hash each one.
Hashing the full Nonce range from 0 to 2^32-1 is also called 1 difficulty.

With stratum we can modify the Merkle Root to generate a different block header to hash the Nonce range.
The Merkle Root is a hash tree of the transactions we include in the block, however there's one transaction that we can change with stratum, and that is the coinbase transaction - or the transaction that pays the miner.
In this transaction we only need to make sure that:
1) It's a valid transaction (which is actually pretty random for the coinbase transaction due to the "sig" being allowed to contain almost anything as long as it starts with 'height')
2) It pays out to the expected address we want to receive the generated Bitcoins
3) The amount it pays is correct

So for stratum we put a bunch of other 'nonces' in the coinbase sig, that includes a unique number for each miner, and run the others from 0 up to some specified limit to generate a different coinbase transaction each time, that will generate a unique Merkle Root, to be put in a block header, to be hashed over the full Nonce range.

Thus with the unique number for each miner, and the miner itself following the stratum rules for creating coinbase transactions, the miner can keep generating a large amount of work that isn't expected to run out before the pool sends it new work.

Lastly, every time the miner finds a hash value that is higher than the difficulty specified by the pool, the miner sends the nonce and the "sig" nonces back to the pool.
The pool hashes those nonces with the values it sent to the miner, and thus verifies it's valid, and thus rewards the miner with the difficulty of the work sent to  the miner.

Now one more thing I'll add, that got mention a little while back, is that the miner can't modify the payout address to 'steal' the block.
The reason is that the pool wont get a valid hash of the nonces sent back, so the miner will get no reward. Simple Smiley

Great write-up - thanks dude!.  Also, I really appreciate the work you put into the pool.   While I know .9% is nothing to sneeze at, I also know you earn it.

Thanks again!

-------------------------------------
4 Avalon 841s
clgrissom3
Legendary
*
Offline Offline

Activity: 1722
Merit: 1032


Carl, aka Sonny :)


View Profile
February 06, 2018, 08:43:45 PM
 #35159

A3 is so cheap. Bet the people who first bought are pissed.

All that matters is who gets it first and starts mining - by the time the next A3 batches get into the customers hands it will be like the D3

and people were pissed about the D3, but it did raise Dash price

I just hope Siacoin price goes up.....same as dash

Should probably ease up on the altcoin discussions as they veer way OT.
wavelengthsf
Full Member
***
Offline Offline

Activity: 658
Merit: 118


View Profile
February 06, 2018, 09:27:37 PM
 #35160

Guess I was wrong about hitting a block yesterday. Life would be so much easier if you could see the future!

Let's hope the random number generators are in our favor soon.
Pages: « 1 ... 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 [1758] 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 ... 2250 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!