Show Posts
|
Pages: [1] 2 »
|
Does any one have a minimal / basic perl script that can generate a public addresses given a 32 byte private key? Most of the perl code examples on Github are unmaintained / broken / years old and I am having troubles getting any of them working. Something similar to this python code: import ecdsa
secp256k1curve=ecdsa.ellipticcurve.CurveFp(115792089237316195423570985008687907853269984665640564039457584007908834671663,0,7) secp256k1point=ecdsa.ellipticcurve.Point(secp256k1curve,0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798,0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8,0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141) secp256k1=ecdsa.curves.Curve('secp256k1',secp256k1curve,secp256k1point,(1,3,132,0,10))
#--------------------------------------
import binascii, hashlib
def addy(pk): pko=ecdsa.SigningKey.from_secret_exponent(pk,secp256k1) pubkey=binascii.hexlify(pko.get_verifying_key().to_string()) pubkey2=hashlib.sha256(binascii.unhexlify('04'+pubkey)).hexdigest() pubkey3=hashlib.new('ripemd160',binascii.unhexlify(pubkey2)).hexdigest() pubkey4=hashlib.sha256(binascii.unhexlify('00'+pubkey3)).hexdigest() pubkey5=hashlib.sha256(binascii.unhexlify(pubkey4)).hexdigest() pubkey6=pubkey3+pubkey5[:8] pubnum=int(pubkey6,16) pubnumlist=[] while pubnum!=0: pubnumlist.append(pubnum%58); pubnum/=58 address='' for l in ['123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'[x] for x in pubnumlist]: address=l+address return '1'+address print addy(0x18E14A7B6A307F426A94F8114701E7C8E774E7F9A47E2C2035DB29A206321725) print addy(int(hashlib.sha256('something small and easy to remember but not easy to guess').hexdigest(),16)) ref: https://bitcointalk.org/index.php?topic=84238.0Would be happy to provide a small bounty. thanks
|
|
|
BLOCKTREE.IOhttp://www.blocktree.ioMulti Coin Block Explorer Custom coded front and back end Supports POW and POS coins Coin Market Cap. display (if coin is traded on Cryptsy, Bittrex or Poloniex) If you are looking for a block explorer for your coin please send me a pm. 
|
|
|
Have been trying to write a dust cleaner for altcoins in perl. After constant 500 server errors using the perl module JSON::RPC::Client I have been trying to use curl directly to see what format the request needs to be in. However I cannot get createrawtransaction to work with curl either. I have tried just about every different formatting combination I can think of, for example: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": [ "[{\"vout\":1,\"txid\":\"0bfa637d84586fc0acee31409fed3f771c78458bad195eb6f2d16ff5d4eaef07\"},{\"vout\":0,"txid":\"0ec54adfbd8d83f10c5ffb9429431129cf0f6f9ffb096f3c255458032ece5280\"}]","{\"DGV3v6MWakbBzmir9gDNnaU8yV7KGPUTi4\":0.19}" ] }' -H 'content-type: text/plain;' http://user:pass@127.0.0.1:6666/Other calls (using perl or curl) do not result in errors for example listtransactions, getinfo, validateaddress etc. I have read quite a few posts on stackexchange and bitcoinexchange asking if this can be done... There are no answers. So can it be done? If so, where am I going wrong?
|
|
|
I noticed recently the top miners on a couple of my SHA256 pools had very large hashrates but were not finding any blocks.
After looking further into the situation I am fairly confident they were cheating the pool. Somehow they are submitting lots of low difficulty shares. I have banned them and earnings are back to estimates. Today one of the cheats created another account which I also just banned.
Using Crypto-Expert's latest version of stratum-mining. Scrypt seems to be unaffected.
Just thought I would put it out there so other pool owners who use this version of stratum-mining are aware there is an issue.
I assume it has something to do with the diff1 setting. If anyone has any ideas what this could be changed to to stop this problems I would be most appreciative!
Have tried both:
diff1 = 0x00000000ffff0000000000000000000000000000000000000000000000000000
and
diff1 = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
|
Wondering what people are thinking about the upcoming IPO for Safecoin / MaidSafeCoin? http://www.safecoin.io/What alarms me it that the IPO is saying 10% of SafeCoins will be available during the IPO which runs until the 10% are sold or 30 days is reached. That means 429,496,729 are going to be available in the first 30 days. At a price of 17,000 Safecoins per 1 Bitcoin. That means they are aiming to potentially raise: 25264.5 BTC or US$12,632,256Seems excessive to me. Thoughts?
|
|
|
It seems like everyone is running round like like lunatics declaring MtGox is insolvent and dead without any solid proof. I am not saying this may not the case but lets at least wait for a solid bit of evidence - either an announcement from MtGox or proof that the document going around claiming MtGox lost 700,000+ BTC is real. Otherwise we are shooting ourselves in the foot. The media is and will have a field day on these claims and if later they prove to be false the short term damage will have already been done.
The document in question does not look at all professional to me and no one really seems to know where it really came from. What if it was just created by someone wanting cheap bitcoin? I would say that they have done an exceptional job of spreading FUD if that was the case.
Its amazing how many forum members come out of the woodwork claiming this is the end of Bitcoin, announcing class action lawsuits against MtGox, sending MK death threats etc. None of this is helping the situation.
STOP the FUD.
In my opinion Bitcoin is here to stay with or without MtGox!! Lets just get on with it.
|
|
|
Dogecoin has been added to: https://www.miningpool.coAs a starting bounty the first 5 unique block finders will receive 1 LTC bonus. Current pool users enable Dogecoin on your settings page. 
|
|
|
Anyone else having Cryptsy deposit problems again 
|
|
|
Hi All - Have launched our Litecoin online wallet service: https://www.coinwallet.coLow Fees Secure Easy to Use Come and check it out. Questions & comments welcome 
|
|
|
The Megacoin community is happy to announce the release of the Megacoin forum https://forum.megacoin.co.nz Come and join in the discussion. Everyone is welcome!
|
|
|
Anyone else not receiving the Two-Factor Auth Code via email from Cryptsy?
Have tried several times with no luck.. Worked before.
|
|
|
Introducing MiningPool.co https://www.miningpool.coPool features: - Custom made pool
- Proportional payments - no pplns warmup
- Multiple Currencies
- Vardiff Stratum Servers
- Multiple / Redundant Stratum servers
- Comprehensive mining stats
- Payouts every 5 minutes
- API
If you would like a currency added that is not currently on the pool - please PM me. This thread will be used to announce upgrades / changes and service status updates. Happy mining!
|
|
|
Hi Josh -
I ordered a 5GH/s Miner on the 6th of May.
When I ordered I was assured it would be delivered by July.
On August the 8th I asked for a refund and on August the 15th I was told this would not be possible.
So can you please tell me, simply, when my order will finally ship and what possible reason there could be for orders taking so long?
I am tired of reading through pages and pages of abuse and conspiracy theories - can you simply answer my question?
Thank you.
|
|
|
Getting an error page trying to connect to Cryptsy..
Anyone else seeing this?
|
|
|
Announcing the MegaCoin dice game: http://www.megadice.co.nzQuick payouts No Account needed 2% house edge Why not give it a try today!
|
|
|
Given the way MegaCoin has been taking off on Cryptsy lately, thought it might be good to start a thread about what services people would like to see developed for this highly undervalued coin?
I reckon an Android and iPhone wallet would be good?
What else?
|
|
|
Introducing FTCDice. http://www.ftcdice.comCome and give it a try today! Note: Please make sure your wallet is compatible (see details in 'How to Play' tab)
|
|
|
|