Bitcoin Forum
May 08, 2024, 09:01:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Maxconnections and Armory  (Read 1034 times)
bitpop (OP)
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 08, 2014, 11: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?

1715158876
Hero Member
*
Offline Offline

Posts: 1715158876

View Profile Personal Message (Offline)

Ignore
1715158876
Reply with quote  #2

1715158876
Report to moderator
1715158876
Hero Member
*
Offline Offline

Posts: 1715158876

View Profile Personal Message (Offline)

Ignore
1715158876
Reply with quote  #2

1715158876
Report to moderator
1715158876
Hero Member
*
Offline Offline

Posts: 1715158876

View Profile Personal Message (Offline)

Ignore
1715158876
Reply with quote  #2

1715158876
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
empoweoqwj
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 09, 2014, 02:08:36 AM
 #2

Armory has its own sub-forum Smiley
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
January 09, 2014, 03:44:24 AM
 #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.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
bitpop (OP)
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 09, 2014, 03:57:27 AM
 #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.

bitpop (OP)
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 09, 2014, 04:05:00 AM
 #5

Rpc is used to transmit tho right? That would be hard to do for remote node due to security.

spin
Sr. Member
****
Offline Offline

Activity: 362
Merit: 261


View Profile
January 09, 2014, 09: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.




If you liked this post buy me a beer.  Beers are quite cheap where I live!
bc1q707guwp9pc73r08jw23lvecpywtazjjk399daa
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
January 09, 2014, 10: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.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
bitpop (OP)
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 09, 2014, 10:36:59 AM
 #8

Yeah since I'm running dedicated public nodes, I might privatize my local one.

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
January 11, 2014, 04:08:00 AM
 #9

try bind=localhost in bitcoin.conf

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!