Author

Topic: Is the --satoshi-port command line argument disabled? (Read 161 times)

legendary
Activity: 1232
Merit: 1094
A quick look at the db code shows this argument is ignored as a whole. I'm about to push the RC for 0.96.5, I'll add it in there.

Great.
legendary
Activity: 3766
Merit: 1364
Armory Developer
I wanted the logs to see if the client was forwarding the argument to the db to begin with.

A quick look at the db code shows this argument is ignored as a whole. I'm about to push the RC for 0.96.5, I'll add it in there.
legendary
Activity: 1232
Merit: 1094
Sorry about not including that info, I was mainly asking if it was a known issue.

The log files (included below) don't contain that much info though.  They look pretty much identical in both cases.

The only difference is BitcoinP2P.cpp reporting connected to bitcoind in the db log file when it actually works.

I had a look at the code, and I think the problem could be in cppForSwig/BlockDataManagerConfig.cpp.

The btcPort_ variable is set to the #define value NODE_PORT_MAINNET rather than some kind of command line controlled variable.  It is hard coded depending on main/test/regtest networks rather than allowing the port to be selected.

Standard Port

Bitcoind started (manually) with this line in bitcoin.conf.  (default port used)

Code:
# port=8500

Armory started from command line with this.

Code:
C:\Program Files (x86)\Armory\ArmoryQt.exe --datadir=G:\armory_data --dbdir=G:\armory_data/database_dir --debug

It successfully connects.

dbLog.txt  armorylog.txt


Alternative Port (8500)

Bitcoind started (manually) with this line in bitcoin.conf

Code:
port=8500

Armory started from command line with this.

Code:
C:\Program Files (x86)\Armory\ArmoryQt.exe --datadir=G:\armory_data --dbdir=G:\armory_data/database_dir --debug --satoshi-port=8500

The GUI stays in offline mode.

dbLog.txt armorylog.txt
legendary
Activity: 3766
Merit: 1364
Armory Developer
Post your logs.
legendary
Activity: 1232
Merit: 1094
I have a node running on a non-standard port and am trying to get Armory to connect to it.  It connects if I use the standard port, but not if I use a non-standard port.

I think there may be some issue with passing the command line argument over to the database process, but that is just a guess.
Jump to: