bitcoin-dev-project / warnet

Monitor and analyze the emergent behaviors of Bitcoin networks
https://warnet.dev
MIT License
93 stars 35 forks source link

`warnet logs` needs to specify the bitcoincore container when prometheus exporter is present #623

Closed pinheadmz closed 1 month ago

pinheadmz commented 1 month ago
(.venv) --> warnet logs
[?] Please choose a pod: 
   commander-minerstd-1727811004
   commander-txflood-1727811067
 ❯ tank-0000-red
   tank-0001-red
   tank-0002-red
   tank-0003-red
   tank-0004-red
   tank-0005-red
   tank-0006-red
   tank-0007-red
   tank-0008-red
   tank-0009-red
   tank-0010-red

a container name must be specified for pod tank-0000-red, choose one of: [bitcoincore prometheus]
pinheadmz commented 1 month ago

damn this command too:

(.venv) --> warnet bitcoin rpc tank-0016-orange getpeerinfo
Defaulted container "bitcoincore" out of: bitcoincore, prometheus
error: unable to upgrade connection: container not found ("bitcoincore")