Bitcoin Forum
August 17, 2024, 09:44:42 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 [435] 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 ... 600 »
8681  Bitcoin / Bitcoin Technical Support / Re: bitcoincore and bitcoinabc same machine on: February 10, 2018, 06:14:52 PM
i have installed bitcoinabc for bitcoincash on my pc (win 10).
How can i start bitcoincore on the same machine.

can anyone help ?


1. You install all three on your computer.
2. Follow the installation steps (ensuring you change the datadir used for each).
3. Create desktop shortcuts for each. If you're using Windows for example, you'll want to make a shortcut to bitcoin-qt.exe -datadir=YOURDATADIRECTORY.
This will ensure the blockchain data doesn't get overwritten by another client. Only run from these shortcuts!
8682  Bitcoin / Bitcoin Technical Support / Re: help needed: Import priv key from electrum bech32 address into core on: February 10, 2018, 03:52:37 PM
This will be helpful : https://bitcointalk.org/index.php?topic=2855806.0

Bech32 addresses/private keys can be converted into legacy addresses/private keys. They both hold the coins (technically) but the segwit address allows it to be signed into a smaller transaction size.
8683  Other / Archival / Re: offline Addresses on: February 09, 2018, 08:15:29 PM
Your question is quite vague could you give a more specific idea of what you want answering?

I'll answer a question I think you're asking:
1. A private key is randomly generated from a piece of software following rules precoded in that software (e.g functions in bitcoin core). This is a randomly generated set of numbers and there are so many options it can be assumed that, for now, no address can be given out twice. Much like the 2128 seeds that get randomely generated by many HD/SPV.
2. The address is then some sort of hash of this private key so they should also be uniquely generated.

Checksums are run on the addresses themselves also. I was looking into the new bech32 address checksums and the simplest takes the last 6 digits and the rest of the string (minus the bc1) and runs a checksum operation to check the address was inputted correctly and attempts to resolve up to four errors in the address.
8684  Alternate cryptocurrencies / Mining (Altcoins) / Re: AMD Threadripper 1950X 16 core 32 threads CPU mining what miner,pool and wallet? on: February 09, 2018, 08:04:53 PM
Well i did not buy Threadripper for mining.
i do 3D stuff and i was wondering can i use my CPU also for mining.
I can but seems that Monero mining for example the proffit is too low to tun it.
I was getting 210 Mh/s


I'm not sure there are any coins that are good for mining with a CPU than there would be with a GPU. As both can run similar processes but GPUs generally can run more complex ones as they have a generally much faster clock speed and also quite a lot of RAM normally. Unless you could find a new altcoin that has just started to be mined so there is a low difficulty then you might get something. Otherwise, without an asic/GPU, mining isn't economically viable.
8685  Alternate cryptocurrencies / Mining (Altcoins) / Re: AMD Threadripper 1950X 16 core 32 threads CPU mining what miner,pool and wallet? on: February 09, 2018, 04:34:44 PM
If it's a CPU only algorithm, you might not need a pool with the power you have solo mining (might?) be more profitable.

There is normally a console command to mine a coin from inside the wallet software.  I found this guide, it might be helpful: https://blockonomi.com/how-to-mine-monero/
8686  Bitcoin / Bitcoin Technical Support / Re: Is Python good for bitcoin apps? on: February 09, 2018, 04:26:41 PM
I want create script and use blockchain node API and create "little" online/offline game  Smiley

Thanks for answers.
I will try get few lessons "Python coding" and
after will make choose.


JSON and URLLIB (preisntalled in Python are helpful - if you are pulling info from it). I started fiddling with pulling block data from it.

They do have a limit of one request per 10 seconds which is quite slow if you want to pull quite a few blocks (I haven't tried going below it but now and again if you make 2 requests in the same 10 seconds it might go unnoticed).
8687  Bitcoin / Bitcoin Technical Support / Re: Is Python good for bitcoin apps? on: February 08, 2018, 11:51:45 AM
Python is used a lot of programming apps as it's easier to program and is a bit more forgiving syntax wise than other programming languages are.

There are some useful code snippets on github depending on what specifically you're trying to program for? If you want to look into basic stuff, there's a Python module called Bitcoin-tools that might be helpful if you don't want to code from scratch.

As an extra note, Python is quite slow as a language to run (not entirely sure why) so you can't make really complex stuff using it, for that you'd turn to C/C#/C++.
8688  Bitcoin / Bitcoin Technical Support / Re: negaitve balance BTC?? on: February 08, 2018, 11:42:14 AM
What schould we do if we have negative blance BTC ?
Is there anybody as collector ? ))
If it's on bitcoin core then no one can enforce anything as it's not actually negative. It just looks like it is from that part.

If it's on an exchange then it's unlikely but possible they might try something to resolve it.
Hello,

I sometimes see addresses with negative balance..  like -0.05 BTC
I don't understand how it possible.
Where can I read about this features?

Thanks.

Can we get a screenshot of this?

I found similar thread at 2014..
Please see https://bitcointalk.org/index.php?topic=749108.0

I agree that is double spend transaction.


Was the bug not resolved as the double spend was though?

Resolved. Electrum use double spend for increase fees.
blockchain.info showed old transactions.. After confirmation new TX with higer fees, balance is ok.

Ahh. So it's just buggy blockchain.info again. Presumably due to both txs being in the mempool at the same time?

It is programmed to only use the transactions in the mempool and the mempool should only have the transaction with the highest fee and kick the other one from it (that somehow didn't happen with blockchain.info here).
8689  Bitcoin / Bitcoin Technical Support / Re: negaitve balance BTC?? on: February 07, 2018, 05:44:17 PM
What schould we do if we have negative blance BTC ?
Is there anybody as collector ? ))
If it's on bitcoin core then no one can enforce anything as it's not actually negative. It just looks like it is from that part.

If it's on an exchange then it's unlikely but possible they might try something to resolve it.
Hello,

I sometimes see addresses with negative balance..  like -0.05 BTC
I don't understand how it possible.
Where can I read about this features?

Thanks.

Can we get a screenshot of this?

I found similar thread at 2014..
Please see https://bitcointalk.org/index.php?topic=749108.0

I agree that is double spend transaction.


Was the bug not resolved as the double spend was though?
8690  Other / Meta / Re: [List] Suspected users that are abusing merit 3.0 on: February 07, 2018, 12:55:40 PM
Would it not be better to use a table to store the details. Maybe? Like:
usernameProfile linkaccusation link


With the accusation link being where the page is the user was accused of merit farming.
8691  Economy / Service Discussion / Re: Best VPS service for hosting a bitcoin node? on: February 06, 2018, 09:51:26 PM
Here a blockchain vps out of box ready http://www.linkuphost.com/blockchain.html It comes with preinstalled and fully synchronized (no wait hours and days) blockchain core and wallet. Windows OS so can browse exchanges, etc.

It's pruned though... I could get that anywhere for cheaper. And the bandwith isn't great.

• 200GB+ SSD (can be HDD though)
• At least 2 CPU cores (of 2GHz+) and 4GB MEMORY (RAM)
• A connection of at least 10MBps and unlmited bandwidth


They don't appear to accept Bitcoin as a payment either.
8692  Alternate cryptocurrencies / Altcoin Discussion / Re: How to technically ICO executed? on: February 06, 2018, 05:50:30 PM
If you want a successful ICO, don't use example code. Get a team of developers on it or do it yourself.

Most coins are open source so you can edit their scripts and incorporate it into your own. Do research also and find something innovative that'll make people want to buy your coin.
8693  Bitcoin / Bitcoin Technical Support / Re: negaitve balance BTC?? on: February 06, 2018, 05:24:22 PM
four years ago I've bought 1 BTC, made wallet.dat file and stored in the cloud. Now I wanted to check balance and after syncing on Bitcoin Core found negative transaction with no address.

That means you've sent the funds to another address. You probably don't own that address so unless you can remember where it is. Someone probably stole it because you put it on the cloud and the cloud can get hacked...
Hello,

I sometimes see addresses with negative balance..  like -0.05 BTC
I don't understand how it possible.
Where can I read about this features?

Thanks.

Can we get a screenshot of this?
8694  Bitcoin / Electrum / Re: "Coin control" in Electrum? on: February 06, 2018, 05:11:17 PM
Go to the addresses tab, hit alt+a.

Right click on the address you want to use and click spend from. It'll go to a sending window and you can then delete inputs so just 1 input goes into the transaction, or collect the rest of the coins as change. (First option is cheaper but less anonymous).

If you don't see the address, click on the drop down menu and check both "change" and "used".
8695  Bitcoin / Bitcoin Technical Support / Re: Bitcoind error after BUcash installed on: February 05, 2018, 06:37:19 PM
Could you solve this problem by using a different external SSD for each coin?

Yes but you'd still need to remember to run it with the datadir command each time.
If you have an internal ssd big enough, you can make desktop shortcuts for it and set their images to the logo of the corosponding wallet and give them a good name so you won't get them mixed up anywhere.

Even if you put the datadir somewhere once, you need to keep reminding it as it looks for the config file in the same place and unless you try extensively fiddling with file permissions and links then it's not going to work just changing the datadir once.

~

I thought that Bitcoin Unlimited used a separate folder by default, and it was Bitcoin ABC that used the same "Bitcoin" folder (as in "%appdata%/Bitcoin" if you are a Windows user).

I suffered this myself then I installed Bitcoin ABC in a computer that already had Bitcoin Core installed. I found out the hard way as when Bitcoin ABC overwrited files and destroyed my blockchain files. Luckily I didn't put my wallet.dat on there.

These fork developers are real jackasses, they should inform with big red letters that if an existing client is installed, it will overwrite existing files as it will install in the same path. A lot of newbies have got screwed by this or even worse, sending BTC to BCH addresses as the format is exactly the same.

I wouldn't even trust VM isolation. Pick up a cheap laptop to install altcoin software if you can afford it.

Nope, it does it on a lot of them.
Bitcoin Unlimited was the first to catch my attention by it. I'm not sure if any before them do it. (I've had litecoin core installed but I no longer use default data directories due to this issue - that's much safer of an option). Instead I use a different path for everything and then if I don't get a message box saying that there is an error and it goes back to resyncing from the start, I know I've loaded it wrong.
I was told the issue with BU had been fixed, but I'm not trusting that myself and doubt it was even true.

You're right about the VM thing, however, dual booting the computer with another operating system just for the altcoins might be a good idea if you can't afford another computer. I'd dual boot from an external hard drive though so you don't accidently make a mistake and put something on the wrong one.
8696  Bitcoin / Electrum / Re: How to generate new addresses if you use electrum as cold storage? on: February 05, 2018, 04:25:33 PM
Change the gap limit variable in the console by running:
Code:
wallet.change_gap_limit(100) 
wallet.storage.write()

Run:
Code:
wallet.gap_limit

To get the current gap limit.

Reference

You could probably try:
Code:
wallet.change_gap_limit(wallet gap_limit+100) 
wallet.storage.write()

And see if that works.
8697  Bitcoin / Electrum / Re: How to delete wallet history on: February 05, 2018, 04:06:50 PM
Linux is ~/.electrum I think and windows is C:\users\user\appdata\local\electrum_data\

Should be the data directory location.
Though I'm not sure for Windows is it's called electrum or electrum_data.

For "Installed" and "Standalone" versions of Electrum on Windows... The Electrum data directory is: %AppData%\Electrum

Wallet files are kept in a subdirectory under this called "wallets"

For the "Portable" version, it will create an "electrum_data" folder in the same location as the .exe and store all the application data there. It follows the same subdirectory structure, so again, there will be a "wallets" folder with your files contained there-in.


As for opening wallet files from other locations, I don't believe that Electrum makes a copy of them, it just opens it from wherever it was when you specified "Open".

That is why I didn't install the portable version, actually ThomasV recommends not to use the portable version. Im glad to see that it was not copying my wallet files in the HDD as I opened them. I only found "defaut_wallet" in %AppData%\Electrum\wallets

I hope ThomasV sees this thread and adds an option in the GUI to disable saving wallet history and deleting existing one, one shouldn't need to find config files for such a basic thing.



Directly in the data folder, you get files. If you spot a file called blockchain_headers it's in that same directory it's just called config (don't think it has a file extension).

I found it, it worked, but it's annoying having to manually delete it every time.

Yes it is quite an annoying thing to do. You could always install electrum portable on the USB stick and use that. I have one on a external hard drive only use it on TRUSTED DEVICES and you're fine. It is safer just to use the regular electrum version but if it's a pendrive that will be kept really safe and only used in one or two computers then you'll probably be fine (I had 1.26BTC in mine for a few days and it was fine).

Portable versions get other issues as well though. Iike stuff might get deleted by antivirus stuff!
Make a backup of the USB stick also onto another USB stick/sandboxed computer.
8698  Bitcoin / Bitcoin Technical Support / Re: Bitcoind error after BUcash installed on: February 05, 2018, 04:00:41 PM
Hi,

I have Bitcoind (bitcoin core node) on my VPS/ubuntu.

I tried install bitcoin unlimited node (BUcash).

After installing I try run my bitcoin core and see error:
Code:
~# bitcoind: main.cpp:3110: void PruneBlockIndexCandidates(): Assertion `!setBlockIndexCandidates.empty()' failed.

What happen?
I can't run my bitcoin core, How export private key in this case?

Thanks.




Did you change the default directory bitcoin unlimited used before installing?
Is that the only error in the debug.log. if so, you'll have to run bitcoin core with the -reindex command and try not to run clients of forked coins on the same device without ensuring the default directories will overlap.

No, not made it Sad I think that bitcoin unlimited changed files of original bitcoin..
This error in console after start bitcoind.


Yes it does that often. If you have a different machine or a VM run it on there. The bu client is made to use the same default directory (presumably due to a shoddy developer not changing the default directory it should use). If you don't have a separate computer. Load a script/shortcut to make it use a specific datadir.
8699  Bitcoin / Bitcoin Technical Support / Re: Bitcoind error after BUcash installed on: February 05, 2018, 03:14:01 PM
Hi,

I have Bitcoind (bitcoin core node) on my VPS/ubuntu.

I tried install bitcoin unlimited node (BUcash).

After installing I try run my bitcoin core and see error:
Code:
~# bitcoind: main.cpp:3110: void PruneBlockIndexCandidates(): Assertion `!setBlockIndexCandidates.empty()' failed.

What happen?
I can't run my bitcoin core, How export private key in this case?

Thanks.




Did you change the default directory bitcoin unlimited used before installing?
Is that the only error in the debug.log. if so, you'll have to run bitcoin core with the -reindex command and try not to run clients of forked coins on the same device without ensuring the default directories will overlap.
8700  Bitcoin / Electrum / Re: How to delete wallet history on: February 05, 2018, 01:12:15 AM



There's an electrum_data folder that stoes the name of every wallet you have also (as it's where it stores the wallets).

Where is this folder specifically in Linux and in Windows?

Linux is ~/.electrum I think and windows is C:\users\user\appdata\local\electrum_data\

Should be the data directory location.
Though I'm not sure for Windows is it's called electrum or electrum_data.

And just to be clear, if I have a wallet file in an USB, and I go to Electrum, and open this file from the USB, electrum will make a copy of the wallet and put it in that folder? because I don't want to store a copy of the wallet anywhere else but on the USB.

The config file uses absolute directory path which means it probably keeps iton your pendrive and doesn't copy it over (almost certain on that).

You could also choose to encrypt the entire wallet file whcih can be done on setup (near where you input the password for the new wallet) it'll ask if you want to encrypt the wallet file. If that box is ticked, it encryptes the entire wallet file. If not, it encrypts just the private keys.

Yes, my entire wallet is encrypted so you can't open it, I just don't want the filename to be saved on there.. it's just not necessary.

EDIT: actually, scroll down the the bottom of the config file to the "recent files" part and edit the names at the bottom/delete the lines of the wallets you don't want to show up (WARNING I HAVEN'T TESTED THIS YET - BACKUP THE ENTIRE FOLDER FIRST).

EDIT: tested and works, DO NOT DELETE THE FIRST AND LAST LINES IN THAT LIST AS THAT CAUSES IT TO RESET ELECTRUM, it doesn't delete wallet, just makes it a bit annoying as you then have to import them.

What config file are you talking about?

Directly in the data folder, you get files. If you spot a file called blockchain_headers it's in that same directory it's just called config (don't think it has a file extension).
Pages: « 1 ... 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 [435] 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 ... 600 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!