Bitcoin Forum
October 07, 2024, 09:00:44 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2]
21  Bitcoin / Development & Technical Discussion / Re: How many nodes blockchain.info has? on: February 12, 2018, 09:34:06 AM
I'm just curious on how meany full node server blockchain.info uses? is it dozes? hundreds? thousands?
In order to maintain 22,000,000+ wallets...

22  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core 0.15 multiwallet limit on: February 12, 2018, 07:59:51 AM
In the Bitcoin Core data directory, create a file named DB_CONFIG. Put the following lines in that file:
Code:
set_lk_max_locks 400000
set_lk_max_objects 400000
That will increase the number of available locks by tenfold (was 40000, no 400000) which will let you open 10 times more wallets (assuming you have enough memory), in theory. Once you run out of locks again, just keep increasing those two numbers.

I have created DB_CONFIG with the lines you suggested. I placed the file in the root of the Bitcoin Data folder.
The same happens.  Undecided

Code:
Lock table is out of available locker entries



It crashes on the 333 wallet. Did I miss anything? what can be done?

EDIT: I have tested both in 0.15.1 and 0.16.0 (main and testnet). The result is the same. 333 is the number of the beast.

23  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core 0.15 multiwallet limit on: February 11, 2018, 03:05:34 PM
It always crashes in the 333 wallet. (after loading 332 wallets successfully).
All wallets were auto created by Bitcoin Core.
The wallet file is fine. if I put it as the first wallet in the list, no problems. but then the last 333 wallet crashes.


The correct number is 333 (not  323, sorry)
24  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core 0.15 multiwallet limit on: February 11, 2018, 02:17:11 PM
I have tried to load 350 wallets by adding the entries to the bicoin.conf

Code:
wallet=wallet-1.dat
wallet=wallet-2.dat
wallet=wallet-3.dat
wallet=wallet-4.dat
...
wallet=wallet-350.dat

And it constantly crashed with fatal error after the 333 wallet in the stage "load wallet.." (although all of them are first verified ok)
At this point the memory usage is about ~750 MB
I have enough available memory.

debug.log
Code:
2018-02-11 14:23:56 init message: Loading wallet...
2018-02-11 14:23:56 nFileVersion = 150100
2018-02-11 14:23:56 Keys: 2002 plaintext, 0 encrypted, 2002 w/ metadata, 2002 total
2018-02-11 14:23:56  wallet                   47ms
2018-02-11 14:23:56 setKeyPool.size() = 2000
2018-02-11 14:23:56 mapWallet.size() = 0
2018-02-11 14:23:56 mapAddressBook.size() = 1
2018-02-11 14:23:56 init message: Loading wallet...
2018-02-11 14:23:56

************************
EXCEPTION: St13runtime_error      
CDB: Error 12, can't open database wallet-333.dat      
D:\Bitcoin\bitcoin-qt.exe in Runaway exception

db.log
Code:
Lock table is out of available locker entries

Any way to workaround this?  Huh
25  Bitcoin / Armory / Re: Does Armory supports RPC? on: February 11, 2018, 10:46:01 AM
I run  python armoryd.py --help

but I get an error:

Quote
 File "armoryd.py", line 316
    raise InvalidTransaction, "file does not contain a valid tx"
                            ^
SyntaxError: invalid syntax

I have Python36 installed on Windows
26  Bitcoin / Armory / Re: Does Armory supports RPC? on: February 11, 2018, 10:28:42 AM
From the link goatpig provided. It's basically a Python file.

Is there a standalone armoryd  EXE file?
27  Bitcoin / Armory / Re: Does Armory supports RPC? on: February 11, 2018, 07:08:55 AM

Thanks. I downloaded the ArmoryStandalone for windows but the armoryd is missing. where can I obtain it?
Alos, is there a list of supported RPC commands?


BTW, why is the ArmoryDB.exe process remains running after I quit ArmoryQt.exe? Is That normal? (version 0.96.3 for Windows)
28  Bitcoin / Armory / Does Armory supports RPC? on: February 11, 2018, 06:48:11 AM
Does Armory supports RPC like Bitcoin Core?
Can I send RPC commands to it to query my wallet balance/transactions; create new wallet; etc... ?
29  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core 0.15 multiwallet limit on: February 10, 2018, 09:20:00 AM
There's technically no limit, but of course you do have memory limits, so at some point you will run out of memory if you load too many wallets.

@achow101 Thanks, How are wallets actually loaded into memory? if the wallet.dat file is ~1.5M will the entire file be loaded into process memory (will that take ~1.5M in memory)?

Also, do you know if the new 0.16.0 allow creating new wallets on the fly?
https://bitcoincore.org/bin/bitcoin-core-0.16.0/test.rc3/
30  Bitcoin / Development & Technical Discussion / Re: How many nodes blockchain.info has? on: February 09, 2018, 11:08:35 AM
Do you know the difference between blockchain.info "wallet" and Bitcoin Core "Full node"?

Not really and still learning. I guess everyone that has Bitcoin Core installed has a full-node?
What I mean is that surely blockchain.info wallets work with some kind of modified bitcoind. and my question was how many bitcoind full-node clients do they use to maintain so many users?
I'm also unsure of how blockchain.info "wallets" actually work.
31  Bitcoin / Bitcoin Technical Support / Bitcoin Core 0.15 multiwallet limit on: February 09, 2018, 10:47:20 AM
In the bitcoin.conf we can add multiple entries of:

Code:
wallet=wallet.dat
wallet=wallet-2.dat
wallet=wallet-3.dat
wallet=wallet-4.dat
...

Is there currently a limit to how many wallets I can load at once?

32  Bitcoin / Development & Technical Discussion / How many nodes blockchain.info has? on: February 09, 2018, 10:34:00 AM
Out of curiosity, How many full nodes belong to blockchain.info ?

I could not find this information. most of the links (in blockchain.info site) to that information are dead.
33  Bitcoin / Bitcoin Technical Support / Re: Bitcoin client that supports Full node Multi-user/wallet on: February 08, 2018, 03:44:35 PM
@ranochigo Thanks for your response.
I need to manage thousands of wallets and have the ability to create new wallets dynamically for different unrelated users while the bitcoind server is running.

I know about bitcoin.conf and the wallet entries, but any change to the conf file requires a Bitcoin Core/bitcoind  restart.
I'm not sure that the future multi-wallet plans can handle such big volume of user wallets.

My model is similar to Coppay/Bitpay but I don't want to depend on external services.
34  Bitcoin / Bitcoin Technical Support / Bitcoin client that supports Full node Multi-user/wallet on: February 08, 2018, 03:16:00 PM
After I realized that Bitcoin Core does not supports multi-user/wallets I'm sadly trying to switch to other clients.  Cry
Bitcoin core is great but is intended for a single user as I see it, even if multi-wallets will be dynamically supported in the unknown future .

From  this list:

https://en.bitcoin.it/wiki/Clients

Seems only suitable as full node multi-user are Armory and Gocoin.
Any recommendations?

I would really love RPC and Testnet support.

For that matter how does blockchain.info or Coppay/Bitpay connect to the blockchain? do they have their own full node(s) clients?
Or do they use a well known bitcoin client?

Thanks in advance.

35  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core 0.15.1: RPC call to re-read config file? on: February 08, 2018, 02:17:52 PM
What do you make of this?  Huh

it's from 2012
Quote
Dynamically Loadable Multiple Wallet Support Complete!!!

https://github.com/bitcoin/bitcoin/pull/2124

Was this idea abandoned back in 2012 and now re-implemented (maybe?)
36  Bitcoin / Bitcoin Technical Support / What exactly is the problem with re-using Bitcoin addresses? on: February 08, 2018, 08:12:14 AM
Why is that considered a bad practice as opposed to ethereum addresses?
I read about it but still not convinced that the private key could be obtained from the public key (if that is the reason).
how would privacy could be compromised as opposed to ethereum blockchain?
Why not have a single address for both receiving and sending funds?

I'm very new to this so please excuse me.  Roll Eyes
37  Bitcoin / Bitcoin Technical Support / Re: Bunch of old wallet.dat but I don't have Client. on: February 08, 2018, 08:02:43 AM
Don't be lazy!
Install Bitcoin core, import the wallet.dat and get 100% in no time  Smiley
This is of course if you know your passphrases or the wallets are not encrypted.
38  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Core 0.15.1: RPC call to re-read config file? on: February 08, 2018, 07:30:57 AM
What you want is unrelated to the bitcoin.conf file.

I know. but unfortunately I was looking for an immediate solution, since the new wallet features are not yet implemented.


Instead of jumping to that extreme, we can just add a feature that lets you dynamically load and unload wallets. In fact, there is an open pull request for exactly that: https://github.com/bitcoin/bitcoin/pull/10740. It is not merged yet so this behavior does not currently exist in Bitcoin Core. But hopefully in the next major release, it will.

The main feature I am after is creating new wallets on the fly. but that seems way too far:

Quote
laanwj modified the milestones: 0.16.0, 0.17.0 28 days ago

The new RPC endpoint e.g. localhost:8332/wallet/<wallatid> works just fine for me and I can query every wallet that is already loaded, but the main issue as I said is creating new wallets while the server is running.
I have no idea when you plan this feature to be released and I must get on with my project. I am willing to use any beta version that supports these features. BTW, Will there be a limit to the number of wallets that could be loaded?

Finally, do you by chance know of any other full node server alternatives other than Bitcoin Core that supports full node and multi-wallets with RPC? (I was hoping for a similar full node like ethereum geth where I can create separate independent (encrypted)  accounts/wallets)

Thanks  a million.
39  Bitcoin / Bitcoin Technical Support / Bitcoin Core 0.15.1: RPC call to re-read config file? on: February 07, 2018, 02:33:02 PM
I have seen the issue since 2011:

Signal and/or RPC call to re-read config file
https://github.com/bitcoin/bitcoin/issues/309

Reload bitcoin.conf without restarting the program
https://github.com/bitcoin/bitcoin/issues/1158

New option and configuration framework:
https://github.com/bitcoin/bitcoin/pull/394

Quote
New rpc command "reloadconfig" to dynamically update configuration parameters (Issue #309). Command line parameters will not be overridden. Notice that many core parameters are used only during startup.

But such command does not seem to exists.

Why do I need it? - it seems that adding an entry wallet=mynewwallet.dat will create a new mynewwallet.dat if it does not exists when the program starts.
This is good since I want to be able to dynamically add wallets in a multi-wallet mode. but the server needs to restart entirely which is bad for me.

Is there an option I missed in Bitcoin Core RPC to reload the conf file? My version is 0.15.1 on Windows 10.

Thanks.
Pages: « 1 [2]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!