Post
Topic
Board Armory
Merits 1 from 1 user
Re: Is the --satoshi-port command line argument disabled?
by
TierNolan
on 14/11/2018, 02:00:57 UTC
⭐ Merited by bob123 (1)
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