NTumbleBit: How to run?Test Failure

Hi,i’m a newbie.

when i run according to your wiki, i encounterred the failure following. How should i solved the errors? Thx!

  1. United Test …\myApp\NTumbleBit\NTumbleBit.Tests>dotnet test

Starting test execution, please wait… [xUnit.net 00:04:54.8093444] NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress [FAIL] NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress Failure

Failure information: Assert.Equal() Failure Expected: 0’/0’/2’ Actual: 0’/0’/1’ Stack trace: at NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress() in …\NTumbleBit.Tests\TumblerServerTests.cs:line 142

NTumbleBit.Tests Total test: 17. Has passed: 16. Failure: 1. Skipped: 0. Time: 4.9320m The test failed to run.

  1. Server Test …\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI>dotnet run -testnet
  • info: Configuration: Using cycle shorty2x
  • info: Configuration: Testing RPC connection to http://localhost:18332/
  • fail: Configuration: Error connecting to RPC server The remote server returned an error: (401) Unauthorized.
  • fail: Configuration: Please, fix rpc settings in…

-bitcoin.conf

# Run on the test network instead of the real bitcoin network.
testnet=1

# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
server=1

# RPC user and password may be used if you aren't using the newer 'cookie' authentication
rpcuser=bitcoinuser
rpcpassword=bitcoinuser

# Optional: pruning can reduce the disk usage from currently around 120GB (or 8GB testnet) to around 2 GB.
prune=2000

-server.config

####Common Commands####
#Connection to the input wallet. TumbleBit.CLI will try to autoconfig based on default settings of Bitcoin Core.
#rpc.url=http://localhost:18332/  # assumes Bitcoin Core is on localhost  
#rpc.user=bitcoinuser         # use the credentials from your bitcoin.conf
#rpc.password=bitcoinuser     # use the credentials from your bitcoin.conf
#rpc.cookiefile=yourbitcoinfolder/.cookie


####Tumbler settings####
## The fees in BTC
#tumbler.fee=0.01
## The cycle used among Kotori,Shorty,Shorty2x
#cycle=kotori


####Server Commands####
#port=37123
#listen=0.0.0.0


####Tor configuration (default is enabled, using cookie auth or no auth on Tor control port 9051)####
#tor.enabled=true
#tor.server=127.0.0.1:9051
#tor.password=mypassword
#tor.cookiefile=/path/to/my/cookie/file
#tor.virtualport=80


####Debug Commands####
#Whether or not the tumbler deliver puzzle's solution off chain to the client (default: true)
#cooperative=false



About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 53 (31 by maintainers)

Most upvoted comments

I will soon, that and another update on something I noticed here.