Bitcoin Forum
May 28, 2024, 01:40:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 5 6 7 »
41  Alternate cryptocurrencies / Altcoin Discussion / Re: Bitcoin Cash wallet with JSON-RPC on: September 03, 2017, 12:28:47 PM
I want to get a BCC wallet which provides JSON-RPC API just like Bitcoin/Litecoin Core do.

Which is a suitable wallet for this?
Bitcoinclassic or BitcoinABC support it?
Bitcoin-ABC has the same RPC interface as Bitcoin Core (my BitcoinMonitor application works with either daemon).  It also has the same SPV interface but uses a different transaction signing hash algorithm (the algorithm is similar to the SegWit hash algorithm)
42  Alternate cryptocurrencies / Speculation (Altcoins) / Re: Future of Bitcoin Cash? on: September 01, 2017, 02:56:49 PM
I wish people wouldn't use 'BCC' to refer to bitcoincash. BCC is the ticker for BitConnectcoin which is a separate alt.

The ticker for bitcoincash is BCH.
they call bch because coinmarketcap use data from bittrex. BCH is bitcoin hard fork is right than bitcoin cash Cheesy
The Bittrex symbol is BCC.
43  Bitcoin / Development & Technical Discussion / Re: Learning to program on the blockchain? on: September 01, 2017, 02:47:23 PM
What makes Java easier?  I've heard that I should try it.  I haven't programmed for a very long time, and am part of the generation that was ruined by BASIC.  OOP blows my mind still lol

Java SE is basically C++ but without some things that may produce errors for inexpert programmers like pointers, and with a exception handling system that avoids mistakes for you.

But for enterprise applications Java EE is much more complex than solutions with .Net C#.
I'm a big fan of Java.  I started with Fortran on an IBM 1130, but I really like object-oriented program.  I prefer Java because it solves some of the problems with C++ and it has a rich set of libraries (both standard and third-party).  And, most of the time, you can run a program on multiple operating systems without having to generate system-dependent versions (and JNI is available for those situations where you need to directly access system functions).

You can look at my GitHub projects if you want some examples.
44  Bitcoin / Bitcoin Discussion / Re: "Pre-BCH-Fork" BTC Blockchain folder as base for updating BCH BitcoinABC -THANKS on: September 01, 2017, 02:18:07 PM
I brought up Bitcoin-ABC by copying the existing Bitcoin-Core folder.  But I deleted the blk*.dat files created after 7/1/2017 (just to be safe) and specified -reindex the first time that I started Bitcoin-ABC.  This essentially deleted all of the blocks/index, blocks/rev*.dat and chainstate.  It took almost 2 days for the reindex to complete (which is considerably slower than Bitcoin-Core, not sure why).

Be sure to specify a different data directory to avoid contaminating your Bitcoin directory (assuming you still want to run Bitcoin-Core).  If you are on Linux, you can use symbolic links for the early blk*.dat files to avoid copying them to the Bitcoin-ABC directory (Bitcoin-ABC will not change the existing block files).  I am running both Bitcoin-Core and Bitcoin-ABC on the same VPS by specifying port 7333 instead of 8333 for the Bitcoin-ABC daemon.  I also modified Bitcoin-ABC to accept connections only from nodes with the BitcoinCash service bit.  I also modified Bitcoin-Core to reject connections from nodes with the BitcoinCash service bit.

If you are on Windows, I found that Bitcoin-QT remembers the last data directory (it must store the information in the Windows registry).  So you need to specify -datadir for both Bitcoin-Core and Bitcoin-ABC to avoid contaminating the Bitcoin data directory.  You also need to specify -datadir for the bitcoin-cli command so that it uses the correct data directory.
45  Bitcoin / Bitcoin Discussion / Re: The OFFICIAL SegWit Activation Thread on: August 24, 2017, 11:17:42 PM
Do we need to wait until the backlog is cleared for the benefits to start happening?

Or are we being spammed more by someone? https://core.jochen-hoenicke.de/queue/#24h

I was looking at this and see that everything is going up again, so maybe it is the 1satoshi spam again.

From what I understand, all new transactions have the Segwit space saving, but previous transactions that are not cleared out yet don't.
No, unless you use a segwit P2SH address, transaction processing has not changed.
46  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: August 24, 2017, 12:04:13 PM
My question: How can I know if one transaction is Segwit transaction or not. As far as I know, not all P2SH addresses are segwit addresses.
You can't tell by looking at the transaction output.  Segwit has a specific script format which hashes to match the P2SH value.  So only the owner of the transaction output knows that it is a segwit output (unless you can guess the owner's public key hash and generate the matching P2SH value).  Of course, once the output is spent, you can tell it is a segwith output by looking at the spending input.

There is a BIP for a native segwit address but it hasn't been implemented yet.
47  Bitcoin / Bitcoin Discussion / Re: The OFFICIAL SegWit Activation Thread on: August 24, 2017, 02:55:35 AM
My first segregated witness transaction was included in block 481827 Smiley

c0a4de385bfae70c77d66b7af3d09bbdfe6f1ad95e1e7537ad9a69adfb0551f8
48  Bitcoin / Development & Technical Discussion / Re: Q: How often do full nodes reboot? How often do they go offline? on: April 27, 2017, 11:43:00 AM
My node is up 24/7 except for the first day of each month when I shutdown my VPS for backup and software updates.
49  Economy / Exchanges / Re: Why you should stop using Coinbase on: March 27, 2017, 02:58:09 PM
I just closed my Coinbase account after 2 service failures.  The first one was several months ago when I couldn't withdraw funds from my USD wallet (the Coinbase dialog did not complete and customer service told me there system was perfect and wouldn't even investigate).  But the final straw was today when they suddenly insisted they needed photo id in order to sell Bitcoin (I've been a customer for 3 years).  And they would accept only webcam or smart phone camera (no file upload).  I don't have a webcam and the link they sent to my smart phone said the link was expired (I tried several times with different links).  After my previous experience, I didn't even bother contacting customer support.  So goodbye. Coinbase.
50  Bitcoin / Development & Technical Discussion / Re: 5 bytes long sendcmpct message on: December 18, 2016, 02:21:43 PM
My code rejects the message since it is too short (message decode fails)
51  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: December 06, 2016, 12:43:45 PM
Is it possible to redeem funded segwit p2sh address today before segwit is activated?
Bitcoin Core 0.13 will not accept a P2SH transaction with a witness redeem script until segwit is activated (I've tried this and the transaction is rejected).  Earlier versions of Bitcoin Core should refuse to relay the transaction because it is non-standard (you need at least two input data elements for a standard P2SH transaction and a segwit transaction has a single input element with the signature and public key in the witness data).  If you can get the spending transaction into a block, then it should be accepted by all of the nodes.

I don't know how other node software would handle this.
52  Bitcoin / Development & Technical Discussion / Re: SegWit change addresses? on: December 01, 2016, 03:52:12 PM
Even if segwit is activated, that doesn't mean a particular web site will accept witness transactions.  So wallets will need to support both for some time.

AFAIU,   non-segwit-supporting wallets will still recognize transactions with segwit inputs. So no need keep creating P2PKH addresses in order to be able to pay to non-segwit wallets
I need to generate P2PKH addresses for non-segwit wallets sending coins to me (the generated addresses are for my private keys).  You are correct that non-segwit wallets should handle witness transactions since they will receive them in legacy format.
53  Bitcoin / Development & Technical Discussion / Re: SegWit change addresses? on: November 29, 2016, 03:48:38 PM
For my own wallet, I've taken the approach of providing both P2PKH ('1') and P2SH-P2WPKH ('3') addresses for each private key.  The user can select either address when providing a receive address to an external site. 

When sending coins, the transaction type is determined by the outputs being spent.  A witness transaction will be created if any output is a witness output.  Otherwise, a legacy transaction is created.  The change address is then selected based on the transaction type.

This should provide interoperability with both new and old wallets.  Even if segwit is activated, that doesn't mean a particular web site will accept witness transactions.  So wallets will need to support both for some time.
54  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: November 19, 2016, 02:25:11 PM
How does the separated signatures in scriptPubKey that Segregated Witness nodes will be able to see, be split from the main input field of a transaction while reducing the size of the block? Won't the people running full nodes have to download this separated part of the signature output called segregated witness still and it would still add to additional data being downloaded because now a block can hold and have more capacity + the segwit signatures has to be downloaded as a separate component?
There are now two transaction formats - legacy and segwit. 

A node that doesn't support segwit will receive transactions in the legacy format.  These transactions will not have the witness data, thus no signatures or public keys.  This works because the witness program allows anybody to spend the output.  A node that supports segwit will not accept a legacy transaction that attempts to spend an output using a witness program.  Thus the need to get 95% of the miners to support segwit.

A non-segwit node won't accept a segwit transaction because the format is invalid by the old rules.  So you need to get a large number of non-mining nodes to also support segwit so that the segwit transactions will be relayed across the network.

You have control over the type of transactions that you create since the initial implementation of segwit uses a P2SH address (address starts with '3') instead of a P2PKH address (address starts with '1').  Existing wallets will continue to create legacy transactions that will be accepted by both types of nodes.

I have tested this using my own wallet and Bitcoin Core 0.13.1.  Sending a segwit transaction results in a reject with the message that segwit is not active yet.  Sending a legacy transaction spending a segwit output results in a reject with the message that the witness data is missing.
55  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: November 16, 2016, 12:02:38 PM
How many have now updated to 0.13.1, they need at least 95% don't they?
Do we know if all the wallet providers are supporting the upgrade?
SegWit needs 95% of the miners to upgrade.  You can look at the block version to see if the miner has updated (version is x'2000002' for SegWit).  So far, I'm seeing around 1 block in 10 that has the SegWit version.  So there is a long ways to go yet.  I already have a SegWit transaction in the blockchain just waiting for the support to be locked in (you can create a P2SH-P2WPKH transaction but you can't spend it yet).
56  Bitcoin / Bitcoin Discussion / Re: One in Four Bitcoin Nodes Are Now Upgraded for SegWit on: November 12, 2016, 02:59:54 PM
Exchanges can't just unilaterally swap deposit addresses since they have no way of knowing if the customer is using a seqwit-enabled wallet.  So, even when the network supports seqwit, transactions will remain in the legacy format until people upgrade their wallets and start using the new address format.  This means businesses will need to offer both types of deposit addresses.  Users will also need to maintain both types of receive addresses until all businesses support sending funds to segwit addresses.

By the way, seqwit doesn't require HD keys.  A private key (no matter how it is generated) can have both a P2PKH address and a P2SH-P2WPKH address.  But it does mean that wallets will have to check transactions against both address formats when receiving funds.
57  Bitcoin / Bitcoin Technical Support / Re: Are these peers with triple connections valid? on: November 05, 2016, 03:49:12 PM
Is there an easy way to ban multiple connections from the same IP, without say, doing something drastic like blacklisting AWS IP addresses.
Not really.

Ok, thanks.

I think there might be a way to limit the number of incoming connections per IP using a reverse proxy such as HAProxy. It doesn't ban them but at least it limits the damage by blocking the extra connections. The problem for me is that HAProxy only runs on Linux and my nodes are currently Windows boxes.
I use firewall rules to limit concurrent connections.  But this is on Ubuntu, so it won't help you with Windows.
58  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core 0.13.1 Released on: November 02, 2016, 03:04:27 PM
the issue in the previous version about the windows that let you know about your transaction movements, still isn't fixed apparently, it was missed since 0.13 version
 this
i'm talking about


If you are running Windows 10, popups are disabled by default when you are duplicating the screen to multiple monitors (I have a widescreen TV as well as a computer monitor).  You can turn this off in Settings -> Notifications
59  Bitcoin / Bitcoin Discussion / Re: Is running a node getting costlier? on: September 22, 2016, 08:51:01 PM
With 50 connected nodes, my bitcoin server upload runs around 1.5GB/day.  However, if new nodes want historical blocks (blocks older than 7 days), this can quickly balloon to 15-20 GB/day.  Bitcoin 0.13 has an option to limit the upload size over a 24-hour period, so this can help reduce the cost.  However, SPV nodes are disconnected when this limit is reached (which you may or may not care about).
60  Bitcoin / Development & Technical Discussion / Re: Do you need to manually reset the nodes every week? on: February 19, 2016, 11:05:44 AM
What exactly is the problem? Linear mempool growth is normal and expected for a constant number of transactions per second, at least until old transactions stop being broadcast and an equilibrium is reached. Many have complained that said equilibrium ends up being too large, so starting from version 0.12 Bitcoin Core has a configurable limit on how large the mempool can grow, after which it will start dropping the transactions with the lowest fees.

For reference, my node's mempool usually hovers around 40k transactions in 1GB, which I think is typical.
My node has been hovering around 11,000 mempool transactions lately, although right now it is at 7100.
Pages: « 1 2 [3] 4 5 6 7 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!