Show Posts
|
Pages: [1] 2 3 4 »
|
2
|
Bitcoin / Bitcoin Technical Support / Bitcoind not starting 0.13.2 on Azure
|
on: February 27, 2017, 03:37:13 AM
|
My node on MS Azure has fallen over and won't start. It does the "verifying blocks" for a while, then nothing. I've checked disk space and seems to be heaps. debug.log is empty. Any ideas? azureuser@xxx:~$ bitcoin-cli getinfo error code: -28 error message: Verifying blocks... azureuser@bitcoinaa3:~$
azureuser@xxx:~$ sudo df Filesystem 1K-blocks Used Available Use% Mounted on udev 837820 0 837820 0% /dev tmpfs 171540 17848 153692 11% /run /dev/sda1 29711408 5097308 24597716 18% / tmpfs 857692 0 857692 0% /dev/shm tmpfs 5120 0 5120 0% /run/lock tmpfs 857692 0 857692 0% /sys/fs/cgroup none 64 0 64 0% /etc/network/interfaces.dynamic.d /dev/sdc1 257898884 112919244 131872492 47% /media/blocks tmpfs 171540 0 171540 0% /run/user/1000
|
|
|
3
|
Bitcoin / Project Development / BitPoker.io Update #2
|
on: December 26, 2016, 11:42:12 PM
|
After looking at a few other projects like Augur, Im pretty confident that I’ve got a scaleable design thats inline with a lot of other DAPs. I’ve been refactoring the messages protocol to use JSON RPC 2.0 protocol. Peers will communicate to each other via HTTP GETs or POSTs. Using this design will allow the solution to be module and written using .Net or .Net Core Owin / Katana controllers or a NodeJS client. A lot of work has gone into the project, making the solution modular and have the ability to inject in mocks. This will enable better testing and hopefully more developers. I've taken a full TDD approach at the moment, focusing just on the core logic in the controllers. A thin UI client will come later. At the moment, Im not working about any network discovery code to find peers. There will be a centralised api at www.bitpoker.io/api where clients will “register” their addresses. This is only a temporary solution and can be thought of as a seed. I’ve also had a conversation with the colour coin exchange Lykke.com, to perhaps to create an ICO using colour coin tokens for anyone wanting to contribute to the project. Finally, also investigating protocols like WebRTC in parallel. www.bitpoker.io
|
|
|
4
|
Bitcoin / Bitcoin Technical Support / libboost_program_options.so.1.54.0: cannot open shared object file
|
on: December 22, 2016, 04:15:05 AM
|
I recently upgraded my Ubnutu 14 desktop to 16.04 LTS. When I attempt to start bitcoind from terminal, I get this error xx@xx:~$ bitcoind bitcoind: error while loading shared libraries: libboost_program_options.so.1.54.0: cannot open shared object file: No such file or directory Thinks I've tried: Removing the bitcoind package and the lib boost package Adding them back apt-get updates Some are saying on other forums its a symbolic link problem, but haven't been abled to solve it. We are down one node because of this error 
|
|
|
8
|
Bitcoin / Project Development / BitPoker.io Update #1
|
on: October 19, 2016, 12:36:55 AM
|
I've decided to start doing monthly updates on my side project BitPoker. This is project is being developed outside of the paid work, running the meetups being on the BAA board, other side projects and being a Dad. Distributed poker has been talked about for a number of years. A good paper about turn based games using the blockchain was also recently published. Poker is a great example of turn based game, where actors participating in the game, reach consensus. I believe With lighting network, the project is now possible. People often say that the blocks are too slow for games. I disagree. Just like light night network doesn't broadcast each tx to the network all the time, the game turns are not required to be broadcast to the the blockchain. Only the actors participating *care* about the turns. Code is being developed in c# as a PoC, and the https://www.github.com/bitcoinbrisbane/bitpoker repo is a mess. Im happy for constructive comments, pull requests are even better. I will focus on heads up no limit texas holdem for the first "contract". Its easier for betting / multisig and anti collusion. I managed to secure the domain www.bitpoker.io and have been working on crystallising my thoughts in the <a href=" https://github.com/bitcoinbrisbane/BitPoker/blob/master/README.md">ReadMe</a>. I've reached out to a few Math professor colleagues to review the cryptography, mainly the shuffling algorithm. I thought of the algorithm myself, and then found it in a book after. My professors have suggested a few more elegant methods which I will look at shortly. I'm not actively seeking investment either, but I've made <a href=" http://coloredcoins.org/explorer/asset/Ua9V5JgADia5zJdSnSTDDenKhPuTVc6RbeNmsJ">10,000,000 colour coin tokens</a> which I'll pass on to any contributors or supporters. Colour coin asset id <a href=" http://coloredcoins.org/explorer/asset/Ua9V5JgADia5zJdSnSTDDenKhPuTVc6RbeNmsJ">Ua9V5JgADia5zJdSnSTDDenKhPuTVc6RbeNmsJ</a> https://www.bitpoker.io/assets.txt
|
|
|
10
|
Bitcoin / Wallet software / Is this TX possible (Using NBitcoin c#)
|
on: July 06, 2016, 12:18:41 AM
|
Senario:Alice has coloured coins (but no bearer tokens) Bob has bearer tokens Create a TX to send colour coins from Alice to Carol, with Bob paying the miners fee. Bitcoin (bearer) change to go back to Bob Colour coin change to go back to Alice Here is my attempt: Raw tx01000000015c9aed0920c7ea31f867d1c2ead3d01a68b1c37929adfe54f363f340e08cd69400000 0006b483045022100b85cd1009a7d5efe8078c0fe2eb52ebbb6944b92ab655a988bf867dbcdac27 8002206c60f54f027586f6618f357b47c5240f5a24eb9917ba1a513d3e2d31fa700e06012102a34 dd7375accc0201e829eb28d40bafd0add18134b1ea30dff56ef79814e0124ffffffff0300000000 000000000c6a0a4f41010002a846e80700aa0a0000000000001976a914b7c2e22206fcd3eee3cbf a2fd423892355e5114488acaa0a0000000000001976a91467bac1ccbfab92c978a7549971a24f30 97038f9688ac00000000 protected BE.Models.ITransactionBroadcastResponse Transfer(BitcoinAddress fromAddress, BitcoinAddress toAddress, BitcoinAddress agentAddress, IEnumerable<ICoin> bearer, ICoin colored, AssetMoney assetToSend, AssetMoney autarkyFee, AssetMoney agentFee) { try { //Apps private key BitcoinSecret bearerKey = new BitcoinSecret(this.BearerKey); BitcoinSecret assetOwnerKey = new BitcoinSecret(this.AssetOwnerKey);
TransactionBuilder txBuilder = new TransactionBuilder(); txBuilder .AddKeys(bearerKey) .AddCoins(bearer) .AddKeys(assetOwnerKey) .AddCoins(colored) .SendAsset(toAddress, assetToSend) //.SendAsset(agentAddress, agentFee) //.SendAsset(AutarkyBitcoinAddress, autarkyFee) .SetChange(AutarkyBitcoinAddress, ChangeType.Uncolored) //was from address .SetChange(fromAddress, ChangeType.Colored) .SendFees(this.MinersFee);
Transaction tx = txBuilder.BuildTransaction(true); Boolean ok = txBuilder.Verify(tx);
if (ok == true) { #if DEBUG String hex = tx.ToHex(); #endif String response = NetworkClient.BroadCastTx(tx.ToHex()); return new BE.Models.NodeTransactionResponse() { status = "ok", data = response }; } else { //TODO MAKE TX INVALID EXCEPTION //return new Models.TransactionErrorResponse() { status = "Error", data = "The transaction is invalid" }; throw new Exception(); } } catch (Exception ex) { //return new Models.TransactionErrorResponse() { status = "Error", data = "The transaction is invalid. " + ex.Message }; throw ex; } }
|
|
|
11
|
Bitcoin / Wallet software / Restore a hive wallet
|
on: May 26, 2016, 10:24:53 AM
|
A friend had a hive wallet, on my recommendation. Now hivewallet.org is closed and he's lost the app, how can I restore if I have the 12 words?
I tried using counter wallet or and old copy of brainwallet.org but doesnt match.
|
|
|
12
|
Economy / Web Wallets / How to get ExtPubKey from CoPay wallet?
|
on: April 07, 2016, 10:42:23 PM
|
I want to provide someone my HD ExtPubKey from copay, so they can pay me to a new HD address. On Copays wallet, I see and advanced option, but no way to export the ExtPubKey.
Can it be derived from an address itself?
|
|
|
14
|
Bitcoin / Bitcoin Discussion / How good is prune mode!
|
on: February 24, 2016, 12:17:21 PM
|
I literally last night moved a lot of my coins off core to a copay wallet because my mac had run out of disk. I wake up this morning and read the awesome news!
Installed, changed the bitcoin.conf file, started core, about 1min later I had reclaimed 55GB.
Thanks core devs!
|
|
|
17
|
Bitcoin / Bitcoin Discussion / Some block size questions
|
on: February 11, 2016, 10:25:22 AM
|
When was the 1mb introduced? My understanding because of spamming attack early on.
Why 75% consensus? That is of nodes who have implemented a change in protocol? How is that figure calculated and agreed upon? Once consensus is reached, and nodes running that protocol version drop less than 75%, the BIP is still remains right?
|
|
|
18
|
Bitcoin / Project Development / [ANN] Get Paid In Bitcoin (www.getpaidinbitcoin.com.au)
|
on: December 18, 2015, 11:33:21 PM
|
Im am excited to announce Get Paid In Bitcoin for Australian residents. Users can allocate part of their wages to be paid to be paid in bitcoin! We hope this service will assist users becoming unbanked, and help users break the dependancy on banks. Who are we? Get Paid in Bitcoin is an Australian Company, ACN 167 096 415 ABN 24 167 096 415 http://abr.business.gov.au/SearchByAbn.aspx?SearchText=167+096+415Both Adam and I have been involved in bitcoin for a number of years, and are both board members of the Bitcoin Association of Australia You can email us at info@getpaidinbitcoin.com.au or bit message at BM-2cSuP6umWqxjLN7CBYK2qT8FvQhfqmyNVK. All other contact info can be found on the home page. PGP encrypted mail coming soon. Public keys will be published in the contact section of the home page. You can also speak to me in person at the Brisbane meetup, www.meetup.com/bitcoinbrisbaneLike anyone in this space, we encourage you to do your due diligence first. We are happy to answer any emails, phone calls or chats in person, and won't be offended if you start using our service with a small amount of $AUD. What we doPut simply, we take part of your fiat wage purchase and transfer the equivalent about of bitcoin to your nominated addresses. This can be split to a number of address, so that you can send to cold storage, a "day to day" wallet, or a card like CoinJars swipe card for easy spending. Fees and ratesA flat fee of $1AUD for each deposit is charged. There is a 10% discount for Bitcoin Association of Australia Members. We are also developing promotions and refer a friend incentives to reduce this fee. All rates are shown on the home page, and updated every 60seconds. On the dashboard page you can also check the purchase rate. Q&AHappy to answer any questions and take feedback here. UpdatesThis thread will be used for support queries and to announce new features. Details on our sprints, releases and feature roadmap can be found at www.getpaidinbitcoin.com/home/newsThe next feature we are developing is paying out to HD wallets for extra privacy. This will be announced via the news page and here once completed. [Update Sprint 4] We did not consume as many story points as we would have liked this sprint. Most of the development effort was around finalising the branding, and making the dashboard as intuitive as possible. New drop down menus and modals have been added to try and achieve this goal. Other minor bugs where fixed, including some jQuery issues stoping the site rendering correctly on mobile devices.
|
|
|
20
|
Alternate cryptocurrencies / Altcoin Discussion / Help with NBitcoin (C#) transfering an asset (0.1BTC bounty)
|
on: September 21, 2015, 09:10:09 PM
|
I've been working with Nicolas to help get this done, but I think hes pretty busy. I've got code to Issue colour coins from Bob to Alice. However, I cant get a transfer of the assets. Bob -> 20 Gold -> Alice Alice -> 10 Gold -> Doof This is where Im getting stuck. After the tx builder I get a valid tx hash. However if I broad cast nothing happens. Some code snippets, sorry for the commenting, been trying lots of different approaches. Ill pay once working code is submitted. Im using blockr or coinprism as a repo to get the txs. Happy to hard code a tx hash and script sig to pay the bounty, as long as I can retrieve new ones in the future from my repo. Notes: INetwork just calls my bitcoin-core client Some test keys const String BobAddress = "mxSimcis5yCPkBaFZ7ZrJ7fsPqLXatxTax"; const String BobAssetAddress = "bX8Qc1nYCZT65cRjcbjg2wyaSjSWhY2gB5p"; const String BobWIFKey = "cMdLBsUCQ92VSRmqfEL4TgJCisWpjVBd8GsP2mAmUZxQ9bh5E7CN";
const String AliceAddress = "muJjaSHk99LGMnaFduU9b3pWHdT1ZRPASF"; const String AliceAssetAddress = "bX5Gcpc75cdDxE2jcgXaLEuj5dEdBUdnpDu"; const String AlicePrivateWIFKey = "cPKW4EsFiPeczwHeSCgo4GTzm4T291Xb6sLGi1HoroXkiqGcGgsH";
assetId = "oLcV5F6R59zbChoTBQ962Har24tAnhbtHo"; public string Transfer(String fromAddress, Int64 amount, String toAddress, String assetId, INetwork network) { //Get bitcoin balance, 0.0006 is required Decimal fundingBalance = 0;
const Decimal BITCOIN_TRANSACTION_FEE = 0.00006M;
NBitcoin.BitcoinAddress bitcoinToAddress = new BitcoinAddress(toAddress); NBitcoin.BitcoinAddress bitcoinFromAddress = new BitcoinAddress(fromAddress);
//UTXOS EP.Repository.ColourCoinTransaction.CoinPrism txRepo = new Repository.ColourCoinTransaction.CoinPrism(true); var ccutoxs = txRepo.GetTransactions(fromAddress); var utxos = txRepo.Get(fromAddress).Where(ux => ux.value > 10000).ToList();
//hard coded, worked but didn't send assets //transaction_hash //var coin = new Coin(fromTxHash: new uint256("f131c91b3ce35f83258a3db54f5547daecc2a61142f598a39a8491ed2844eb28"), // fromOutputIndex: 0, // amount: Money.Satoshis(3000), //20000 // scriptPubKey: new Script(Encoders.Hex.DecodeData("76a914b9ad2f3f358c24ec207abf72125790e67301284488ac")));
//var forfees = new Coin(fromTxHash: new uint256("a86a907f36071754ff4fdc4e27de4ec92272f239de5236af5f4806133ac66d0f"), // fromOutputIndex: 0, // amount: Money.Satoshis(97322000), //9957600 // scriptPubKey: new Script(Encoders.Hex.DecodeData("76a914b9ad2f3f358c24ec207abf72125790e67301284488ac")));
var coin = new Coin(fromTxHash: new uint256("dc19133d57bf9013d898bd89198069340d8ca99d71f0d5f6c6e142d724a9ba92"), fromOutputIndex: 0, amount: Money.Satoshis(199867600), //20000 scriptPubKey: new Script(Encoders.Hex.DecodeData("76a914b9ad2f3f358c24ec207abf72125790e67301284488ac")));
var forfees = new Coin(fromTxHash: new uint256("302290290074826991bb936c157ef1e5be2882e975154d31b985ae8a26dd3161"), fromOutputIndex: 2, amount: Money.Satoshis(20000), //9957600 scriptPubKey: new Script(Encoders.Hex.DecodeData("76a914b9ad2f3f358c24ec207abf72125790e67301284488ac")));
//var coin = new Coin(fromTxHash: new uint256(utxos[0].transaction_hash), // fromOutputIndex: utxos[0].output_index, // amount: Money.Satoshis(60000), //20000 // scriptPubKey: new Script(Encoders.Hex.DecodeData(utxos[0].script_hex)));
//var forfees = new Coin(fromTxHash: new uint256(utxos[1].transaction_hash), // fromOutputIndex: utxos[1].output_index, // amount: Money.Satoshis(60000), //20000 // scriptPubKey: new Script(Encoders.Hex.DecodeData(utxos[1].script_hex)));
BitcoinAssetId assetIdx = new BitcoinAssetId(assetId, Network.TestNet); var alice = NBitcoin.BitcoinAddress.Create(toAddress, NBitcoin.Network.TestNet);
ulong u = Convert.ToUInt64(amount); ColoredCoin colored = coin.ToColoredCoin(assetIdx, u);
//var satoshi = Key.Parse(, Network.TestNet); string aliceWIF = "cPKW4EsFiPeczwHeSCgo4GTzm4T291Xb6sLGi1HoroXkiqGcGgsH"; var satoshi = Key.Parse(aliceWIF, Network.TestNet); ;
var txBuilder = new TransactionBuilder(); var tx = txBuilder .AddKeys(_key.PrivateKey) //.AddCoins(forfees, colored) .AddCoins(forfees) .AddCoins(colored) .SendAsset(alice, new AssetMoney(assetIdx, u)) //.SendAsset(satoshi.PubKey, new NBitcoin.OpenAsset.AssetMoney(assetIdx, u)) .SetChange(bitcoinFromAddress) .SendFees(Money.Coins(0.001m)) .BuildTransaction(true);
network.Submit(tx); return "ok"; }
|
|
|
|