Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 13:53
    zawasp synchronize #650
  • Jan 31 2019 13:47
    zawasp synchronize #650
  • Jan 31 2019 13:44
    zawasp commented #650
  • Jan 31 2019 13:43
    zawasp commented #650
  • Jan 31 2019 12:25
    NicolasDorier commented #650
  • Jan 31 2019 12:25
    NicolasDorier commented #650
  • Jan 31 2019 10:57
    zawasp synchronize #650
  • Jan 31 2019 10:50
    zawasp synchronize #650
  • Jan 31 2019 10:40
    zawasp synchronize #650
  • Jan 31 2019 10:36
    zawasp opened #650
  • Jan 31 2019 07:47
    NicolasDorier commented #649
  • Jan 31 2019 07:47

    NicolasDorier on v4.1.1.81

    (compare)

  • Jan 31 2019 07:46

    NicolasDorier on master

    bump (compare)

  • Jan 31 2019 07:45
    NicolasDorier commented #649
  • Jan 31 2019 07:45

    NicolasDorier on master

    Fix DivideByZeroException when … (compare)

  • Jan 31 2019 07:45
    NicolasDorier closed #649
  • Jan 31 2019 07:45
    NicolasDorier closed #648
  • Jan 31 2019 00:38
    knocte commented #648
  • Jan 30 2019 17:19
    lontivero commented #648
  • Jan 30 2019 17:19
    lontivero commented #648
btcpaybot
@btcpaybot
[mattermost - kodxana]Apparently issue is with wrong values
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]I cna't really help, I don't run altcoin deamon on my machine
btcpaybot
@btcpaybot
[mattermost - kodxana]@nicolasdorier so what's the correct way to test the altcoin cause readme is not much useful :/
[mattermost - kodxana]Also do I need to run both Bitcoin and Altcoin node?
[mattermost - kodxana]I mean the test should start altcoin regtest node
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@kodxana the test download the altcoin and run it
[mattermost - nicolasdorier]you need to remove the commented node you want to test in NodeBuilderEx
btcpaybot
@btcpaybot
[mattermost - kodxana]I did it and it downloads node but not starting now correctly. Aka it start process but it's not syncing or creating config file
btcpaybot
@btcpaybot
[mattermost - kodxana]Apparently it's not starting correctly cause can't connect using LBRYcrd-cli
Ugochukwu Aronu
@rony4d

@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."
}

My Nodes are up and other functions are running properly. What could be the reason?
Ugochukwu Aronu
@rony4d
@btcpaybot I also realized litecoin fee estimation is working perfectly. What could be making bitcoin fee estimation to fail.

@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

Ugochukwu Aronu
@rony4d

@btcpaybot I also realized litecoin fee estimation is working perfectly. What could be making bitcoin fee estimation to fail.

I started rescanning the bitcoin blockchain from an old block and it started working. I really don't understand why it stopping working at first.

null
@0x25CBFC4F
Hello people. I need to create a custom network for PIVX fork. I've tried going through 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.
Can somebody give me a tutorial link/explain how to correctly create altcoin wrapper for NBitcoin?
hitjariwala
@hitjariwala
Hello
how to create transaction using NBitcoin?
hitjariwala
@hitjariwala
QBitNinjaClient Getbalance return "Id = 49, Status = WaitingForActivation, Method = "{null}", Result = "{Not yet computed}""
Andres G. Aragoneses
@knocte
read the book
hitjariwala
@hitjariwala
ok
SignRawTransaction method not available in bitcoin core v.0.19?
@knocte ?
GNU-LinuxGuy
@GNU-LinuxGuy
I believe I found a bug in NBitcoin's block parsing on the Dash network. Is there anyone available that's intimate with that code?
Manolo-Valdes
@Manolo-Valdes
Hi guys
I´m trying to test a transaction in the test network but with all nodes I got a InvalidOperationException: The node is not in a connected state

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
        }
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@Manolo-Valdes I think 8333 is not the port for testnet
[mattermost - nicolasdorier]use Network.Testnet.Port or something like that
Manolo-Valdes
@Manolo-Valdes
thanks guys. I´ll look into it.
I already use the Node.Connect(network, addrman) . And work fine, but it takes a long time to conect.
Manolo-Valdes
@Manolo-Valdes

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.

btcpaybot
@btcpaybot
[mattermost - Kukks]network.CreateTransactionBuilder()
Manolo-Valdes
@Manolo-Valdes
thanks guys. great
GNU-LinuxGuy
@GNU-LinuxGuy
Should I just submit my NBitcoin bug to github, or can I get some back and forth from devs here?
btcpaybot
@btcpaybot
[mattermost - britttttk]If you know it’s a bug you could just make an issue, if you need some more info or something feel free to drop a comment here
GNU-LinuxGuy
@GNU-LinuxGuy
I don't know for sure what's happening, but I'm porting Wasabi Wallet to the Dash network, and it's having a very strange issue that doesn't seem to be related to WW code.
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
Removed some backticks to prevent breakage of code quoting, but as you can see, it seems to be having issues with parsing something in the block relating to transaction inputs. Possibly due to special transactions not yet or properly supported by NBitcoin?
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]hi @GNU-LinuxGuy, you will need to debug this by yourself and make a PR, I don't touch altcoins
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]shitcoins makes breaking changes, they are in charge of fixing what they break
Maedeh Zebhi
@maede71

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??

btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@maede71 probably you did not paid enough fee, so the transaction does not propagate
[mattermost - nicolasdorier]some node accept the transaction, other don't accept.
[mattermost - nicolasdorier]will eventually be cleared when mempool clear https://jochen-hoenicke.de/queue/#0,24h
[mattermost - nicolasdorier]as for the address, I don't know
Maedeh Zebhi
@maede71
@btcpaybot thanks.Is it possible to confirm that transaction?
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@maede71 no, you have to wait
[mattermost - nicolasdorier]or use RBF or CPFP, but that's not easy and I can't guide you
matra774
@matra774
HI guys. Does any body know what happen to BlockStore class - for reading raw blk*.dat files. I remember that there was present in NBitcoin some years ago, but I am unable to find it