Horrible Horrendous Terrible Tremendous

From zaoniao
(Redirected from HHTT)
Jump to navigation Jump to search

Horrible Horrendous Terrible Tremendous was a mining pool. It had notoriety for placing strange messages in the coinbase when finding blocks. HHTT had high availability with stratum endpoints distributed in 4 separate datacenters. HHTT also had a coherent guaranteed delivery message path for making sure users get credit for submitted shares.

HHTT was hosted with Amazon Web Services and makes use of the fact that AWS has multiple independant regions to give very good availability.

Each HHTT endpoint has its own instance of bitcoind and SockThing. Those two can give out work and generate blocks without anything outside of the bitcoin network itself. To save user shares, SockThing sends the share records to Amazon SNS in the local region. Amazon SNS then is responsible for getting the message to Amazon SQS in us-west-2. SNS will retry until it works if there are problems. Then the share records are read from SQS and processed into an RDS Database. The database provides information for the web page and payment generation.

When a user submits a share to an HHTT stratum endpoint, SockThing only replies to the miner with an accept message after the record is handed of to SNS. So if your miner is getting accepts, SNS has the record. SNS won't quit until the message has been written at least once to SQS. SQS will keep the message until we delete it, after adding it to the database. So this means if the user gets an accept on their submission, it will make it to our database. Quickly is most cases. Eventually if there are problems.

See Also on BitcoinWiki