Author

Topic: Maxconnections and Armory (Read 1034 times)

legendary
Activity: 3640
Merit: 1345
Armory Developer
January 11, 2014, 12:08:00 AM
#9
try bind=localhost in bitcoin.conf
legendary
Activity: 2912
Merit: 1060
January 09, 2014, 06:36:59 AM
#8
Yeah since I'm running dedicated public nodes, I might privatize my local one.
legendary
Activity: 1232
Merit: 1083
January 09, 2014, 06:14:04 AM
#7
A tweak would be to have armory listen for an incoming connection and only accept one (from localhost).

There is better security in Armory making the connection though.  It 100% trusts the local node.
sr. member
Activity: 362
Merit: 261
January 09, 2014, 05:48:50 AM
#6
You can't reserve a connection as far as I'm aware.  
Read up on addnode and connect here: https://en.bitcoin.it/wiki/Running_Bitcoin

But you can't use those to connect to armory I think.

My idea would be:
1. I would move your public connections to a different node.  And keep this as private node only node almost?
2. Channge this node's conf to connect/addnode to all your other nodes (only).

I have actually been thinking of using such a almost offline wallet where firewall is set to only allow connections from bitcoind to a specific IP on port 8333 to an internet facing node. Everything else is dropped.

You have then
Armory <----> Bitcoind   <---->  firewall <---> [public facing node bitcond] <----> internet
Everything on the left of the firewall is then basically an offline pc other than the one connection being allowed.



legendary
Activity: 2912
Merit: 1060
January 09, 2014, 12:05:00 AM
#5
Rpc is used to transmit tho right? That would be hard to do for remote node due to security.
legendary
Activity: 2912
Merit: 1060
January 08, 2014, 11:57:27 PM
#4
Yes so reserving a connection is paramount then. I run a node to help the network but I also need armory. Increasing my maxconnections hoping it won't fill up will hurt my bandwidth.

Using a trusted remote node once block files aren't needed would be nice. I run other nodes on vps which can take massive connections.

My other option is to stop taking connections to my local one. Our restarting every time. But I don't know it won't work until armory rapidly flashes disconnected and upon restart does a long scan.
legendary
Activity: 1428
Merit: 1093
Core Armory Developer
January 08, 2014, 11:44:24 PM
#3
Armory uses almost entirely P2P.  The RPC is only used if you have Armory manage Bitcoin-Qt/bitcoind for you, in which case it basically only uses it to determine & report synchronization state.  Beyond that, everything goes through P2P.  This makes it agnostic to the backend Bitcoin engine... if someone wants to use a different engine (which doesn't really exist yet), then they can swap it no problem.

That's an overstatement at the moment, since Armory does still rely on the blk*.dat files, but even that will be removed (hopefully soon).

I'm not sure if there's a way to reserve a connection for a given IP address.  I bet there is.  You could probably find out pretty quickly on the #bitcoin-dev IRC channel.  Or just post in the parent forum.  Make sure you report back here with the answer, since I'm kind of curious myself.
hero member
Activity: 518
Merit: 500
January 08, 2014, 10:08:36 PM
#2
Armory has its own sub-forum Smiley
legendary
Activity: 2912
Merit: 1060
January 08, 2014, 07:41:02 PM
#1
I have maxconncections=40 and if I get that many connections it seems Armory cant connect. I thought armory used rpc which isnt counted. Getinfo still works so rpc is working.

How do I reserve a connection for armory? I have to keep restarting bitcoind at this point. Is armory using a p2p connection? And raw db? But no rpc?
Jump to: