Great job on the stats. Thank you wizkid.
|
|
|
Hey Luke-Jr. Trying to setup eloipool. Can you help me with my config.py? When I start ./eloipool.py I get the error that the jsonrpc module isn't found. ### Settings relating to server identity # Name of the server ServerName = 'Private Eloipool' ### Settings relating to server scaling/load # Share hashes must be below this to be valid shares # If dynamic targetting is enabled, this is a minimum ShareTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff # Automatically adjust targets per username # 0 = disabled # 1 = arbitrary targets # 2 = power of two difficulties (zero bit counts) DynamicTargetting = 0 # How many shares per minute to try to achieve on average DynamicTargetGoal = 8 # Number of seconds hashrate is measured over DynamicTargetWindow = 120 # Minimum and maximum of merkle roots to keep queued WorkQueueSizeRegular = (0x100, 0x1000) # Minimum and maximum of BLANK merkle roots to keep queued # (used if we run out of populated ones) WorkQueueSizeClear = (0x1000, 0x2000) # Minimum and maximum of BLANK merkle roots to keep queued, one height up # (used for longpolls) WorkQueueSizeLongpoll = (0x1000, 0x2000) # How long to wait between getmemorypool updates normally MinimumTxnUpdateWait = 5 # How long to wait between retries if getmemorypool fails TxnUpdateRetryWait = 1 # How long to sleep in idle loops (temporary!) IdleSleepTime = 0.1 ### Settings relating to reward generation # Address to generate rewards to TrackerAddr = 'MyAddress in an outside wallet on my home pc, not localhost' # Coinbaser command to control reward delegation # NOTE: This example donates 1% of block rewards to Luke-Jr for Eloipool development CoinbaserCmd = 'echo -e "1\\n$((%d / 100))\\n1579aXhdwvKZEMrAKoCZhzGuqMa8EonuXU"' ### Settings relating to upstream data providers # JSON-RPC servers to get block templates from # See https://en.bitcoin.it/wiki/BIP_0023#Logical_Services for key details TemplateSources = ( { 'name': 'primary', 'uri': 'http://bitcoinrpc:PasswordInBitcoin.conf@localhost:8332', 'priority': 0, 'weight': 1, }, { 'name': 'secondary', 'uri': 'http://bitcoinrpc:PasswordInbitcoin.conf@localhost:8332', 'priority': 1, 'weight': 1, }, ) # JSON-RPC servers to check block proposals with # If none provided, and selected source supports proposals, it alone will also # be used for checking #TemplateChecks = ( # { # 'name': 'primary', # 'uri': 'http://user:pass@localhost:8332', # # # If 'unanimous' is true, no template will be used if this node # # rejects it # 'unanimous': False, # # # If check servers disagree on all templates, they will be scored and # # the highest score will be used; 'weight' can be used to control the # # scoring per-server # 'weight': 1.1, # }, # { # 'name': 'secondary', # 'uri': 'http://user:pass@localhost:18332', # 'unanimous': False, # 'weight': 1, # }, #) # # JSON-RPC servers to submit found blocks to (when they meet the full target) # The specific TemplateSource that the block was based on will always be sent # the block first. # If setting is not specified, or None, full TemplateSources list will be used. # If an empty list, no extra submissions will be attempted. # If an empty list, and the block was found on a "clear" merkle root (not based # on any TemplateSource), the full TemplateSources list will be used. #BlockSubmissions = ( # { # 'name': 'primary', # 'uri': 'http://user:pass@localhost:8332', # }, # { # 'name': 'secondary', # 'uri': 'http://user:pass@localhost:18332', # } #) # # Templates will not be used unless they have an acceptance ratio above this # Range: 0.00 - 1.00 MinimumTemplateAcceptanceRatio = 0 # No template with a combined total score below this will be used MinimumTemplateScore = 1 # Set to True if you want shares meeting the upstream target to wait for a # response from an upstream server before logging them. Otherwise, for such # shares, upstreamResult will always be True and upstreamRejectReason will # always be None. Note that enabling this may cause shares to be logged out of # order, or with the wrong timestamp (if your share logger uses the log-time # rather than share-time). DelayLogForUpstream = False # Bitcoin p2p server for announcing blocks found UpstreamBitcoindNode = ('127.0.0.1', 8333) # testnet # Network ID for the primary blockchain # Other known network IDs can be found at: # https://en.bitcoin.it/wiki/Protocol_specification#Message_structure UpstreamNetworkId = b'\xF9\xBE\xB4\xD9' # testnet # Secret username allowed to use setworkaux #SecretUser = "" # URI to send gotwork with info for every share submission #GotWorkURI = '' # Share hashes must be below this to be submitted to gotwork GotWorkTarget = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff # Aim to produce blocks with transaction counts that are a power of two # This helps avoid any chance of someone abusing CVE-2012-2459 with them # 1 = cut out feeless transactions; 2 = cut out even fee-included transactions (if possible) POT = 2 # Avoid mining feeless transactions except to satisfy POT # Note this only works if POT is in fact enabled in the first place Greedy = False ### Settings relating to network services # Note that Eloipool only supports IPv6 sockets, and if you want to bind to an # IPv4 address you will need to prepend it with ::ffff: eg ::ffff:192.168.1.2 # Addresses to listen on for JSON-RPC GBT/getwork server JSONRPCAddresses = ( ('::ffff:MyServerIP', 1337), ) # Addresses to listen on for Stratum mining server StratumAddresses = ( ('', 3334), ) # Addresses to listen on for Bitcoin node # Note this will only be used to distribute blocks the pool finds, nothing else BitcoinNodeAddresses = ( ('', 8333), ) # Addresses that are allowed to "spoof" from address with the X-Forwarded-For header TrustedForwarders = ('::ffff:127.0.0.1',) # Logging of shares: #ShareLogging = ( # { # 'type': 'logfile', # 'filename': 'share-logfile', # 'format': "{time} {Q(remoteHost)} {username} {YN(not(rejectReason))} {dash(YN(upstreamResult))} {dash(rejectReason)} {solution}\n", # }, # { # 'type': 'sql', # 'engine': 'postgres', # 'dbopts': { # 'host': 'localhost', # 'database': 'pooldb', # 'user': 'eloipool', # 'password': 'somethingsecret', # }, # 'statement': "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, decode({solution}, 'hex'))", # }, # { # 'type': 'sql', # 'engine': 'mysql', # 'dbopts': { # 'host': 'localhost', # 'db': 'pooldb', # 'user': 'eloipool', # 'password': 'somethingsecret', # }, # 'statement': "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, unhex({solution}))", # }, # { # 'type': 'sql', # 'engine': 'sqlite', # 'dbopts': { # 'database': 'share.db', # }, # 'statement': "insert into shares (remoteHost, username, rejectReason, upstreamResult, solution) values ({remoteHost}, {username}, {rejectReason}, {upstreamResult}, {solution})", # }, #) ### Settings related to poolserver logging # By default, significant events will be printed to the interactive console # You can customize your logging using either simple parameters, or Python's advanced logging framework # Note that using Python's logging framework will override the default console logging! # To simply log everything to the system log (syslog) as well: # LogToSysLog = True # To make a log file: # LogFile = 'filename.log' # For a rotating log file: LogFile = { 'filename': 'eloipoollog.log', 'when': 'midnight', 'backupCount': 7, } # For details, see: # http://docs.python.org/3/library/logging.handlers.html#logging.handlers.TimedRotatingFileHandler
|
|
|
I don't think so... Satoshi is a group of people in my book.
|
|
|
I'll leave this...
|
|
|
Is it possible to use a specific server?
|
|
|
OMG what is that?
|
|
|
And did you ever consider the taxes you'll have to pay?
Dealers FTW.
|
|
|
Have fun I have my whole block index and my wallets in a TrueCrypt containet.
|
|
|
My wallet is worth more than yours.
I can make backups of my money.
|
|
|
I sold yesterday... Still keeping BTC10. Maybe the price goes even higher.
|
|
|
1. No. You need to do that each time. 2. Depends where you mount it. Maybe /mnt/external/myBlkindexFolder/ 3. Yes. Everything that's in that folder needs to be transfered. 4. Of course, but make a backup of your wallet at least. 5. Not at all.
|
|
|
That's a really nice idea. At least you don't actually lose anything. By the way... My multi-wallet operation, it worked amazing. I ran 103 wallets Though, it's really small, had some trouble scrolling all the time
|
|
|
The only people who will really profit from ASIC are the few people that have the units now. Everything later is basically a joke.
|
|
|
The price is up too... People are firing up their GPUs.
|
|
|
Just try. There are various configs. Write your own and see what you'll get.
|
|
|
|