NicolasDorier on v4.1.1.81
NicolasDorier on master
bump (compare)
NicolasDorier on master
Fix DivideByZeroException when … (compare)
dotnet -d test NBitcoin.Tests.csproj --filter "Altcoins=Altcoins"
command
@btcpaybot
I just started getting this error when trying to estimate fees{
"httpCode": 400,
"code": "fee-estimation-unavailable",
"message": "It is currently impossible to estimate fees, please try again later."
}
I am using NBXplorer: http://127.0.0.1:24444/v1/cryptos/btc/fees/2
chainparams.cpp
and set values accordingly but still getting {"result":null,"error":{"code":-26,"message":"16: mandatory-script-verify-flag-failed (Signature hash type missing or not understood)"},"id":null}
response from the node.
there is any special thing to do ?
this is the code:
Transaction payment = Transaction.Create(Network.TestNet);
IPAddress address = IPAddress.Parse("80.132.227.152");
using (var node = await Node.ConnectAsync(Network.TestNet, new IPEndPoint(address, 8333))) //Connect to the node
{
node.VersionHandshake(); //Say hello
//Advertize your transaction (send just the hash)
node.SendMessage(new InvPayload(InventoryType.MSG_TX, payment.GetHash()));
//Send it
node.SendMessage(new TxPayload(payment));
Thread.Sleep(500); //Wait a bit
}
Hi again :)
Tring to use the TransactionBuilder, I create a TransactionBuilder variable but seems to be no default constructor. at least that is what Visual Studio tells me.
Assembly NBitcoin, Version=5.0.65.0
using NBitcoin;
using NBitcoin.Protocol;
using System.Threading;
TransactionBuilder Builder = new TransactionBuilder();
in http://www.codeproject.com/Articles/835098/NBitcoin-Build-Them-All
use it this way.
what I am missing?
thanks in advance.
ERROR PeriodicRunner (73) System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Array size too big')
at NBitcoin.Protocol.VarString.StaticRead(BitcoinStream bs, Byte[]& bytes)
at NBitcoin.BitcoinStream.ReadWrite(Script data)
at NBitcoin.BitcoinStream.ReadWrite(Script& script)
at NBitcoin.TxIn.ReadWrite(BitcoinStream stream)
at NBitcoin.BitcoinStream.ReadWrite[T](T& data)
at NBitcoin.BitcoinStream.ReadWriteArray[T](T[]& data)
at NBitcoin.BitcoinStream.ReadWriteList[TList,TItem](TList& data)
at NBitcoin.BitcoinStream.ReadWrite[TList,TItem](TList& list)
at NBitcoin.Transaction.ReadWrite(BitcoinStream stream)
at NBitcoin.BitcoinStream.ReadWrite[T](T& data)
at NBitcoin.BitcoinStream.ReadWriteArray[T](T[]& data)
at NBitcoin.BitcoinStream.ReadWriteList[TList,TItem](TList& data)
at NBitcoin.BitcoinStream.ReadWrite[T](List 1& list)
at NBitcoin.Block.ReadWrite(BitcoinStream stream)
at NBitcoin.BitcoinSerializableExtensions.ReadWrite(IBitcoinSerializable serializable, Stream stream, Boolean serializing, ConsensusFactory consensusFactory, Nullable 1 version)
at NBitcoin.BitcoinSerializableExtensions.ReadWrite(IBitcoinSerializable serializable, Byte[] bytes, ConsensusFactory consensusFactory, Nullable 1 version)
at NBitcoin.Block.Parse(String hex, ConsensusFactory consensusFactory)
at NBitcoin.Block.Parse(String hex, Network network)
at NBitcoin.RPC.RPCClient.GetBlockAsync(uint256 blockId)
at WalletWasabi.DashCore.RpcClientBase.GetBlockAsync(uint256 blockHash) in /home/dt/WalletWasabi/WalletWasabi/DashCore/RpcClientBase.cs:line 31
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreateAsync[TItem](IMemoryCache cache, Object key, Func 2 factory)
at Microsoft.Extensions.Caching.Memory.MemoryExtensions.AtomicGetOrCreateAsync[TItem](IMemoryCache cache, Object key, Func 2 factory) in /home/dt/WalletWasabi/WalletWasabi/Extensions/MemoryExtensions.cs:line 44
at WalletWasabi.DashCore.CachedRpcClient.GetBlockAsync(uint256 blockHash) in /home/dt/WalletWasabi/WalletWasabi/DashCore/CachedRpcClient.cs:line 59
at WalletWasabi.Blockchain.Blocks.BlockNotifier.HandleMissedBlocksAsync(Block arrivedBlock) in /home/dt/WalletWasabi/WalletWasabi/Blockchain/Blocks/BlockNotifier.cs:line 158
at WalletWasabi.Blockchain.Blocks.BlockNotifier.ActionAsync(CancellationToken cancel) in /home/dt/WalletWasabi/WalletWasabi/Blockchain/Blocks/BlockNotifier.cs:line 143
at WalletWasabi.Bases.PeriodicRunner.ExecuteAsync(CancellationToken stoppingToken) in /home/dt/WalletWasabi/WalletWasabi/Bases/PeriodicRunner.cs:line 53
Hi, I created a transaction 16 hours ago using blockcypher api and it gave me a hash:
4e15cd10932c334381f2267afd4be13fdada5a4500da583596910d13c494d490
but it does not exist in blockcypher explorer right now,
and it exists in another explorers(btc.com,blockchair.com,...)
even the address inventory is different
confused! why??