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
Andres G. Aragoneses
@knocte
nobody uses qbitninja anymore AFAIU
jole95
@jole95
@knocte Do you know the alternative to that. I have to make transaction (testnet).
Andres G. Aragoneses
@knocte
connect to electrum servers?
Chris
@furesoft
Hi,
Im using NBitcoin in my PluginSystem in .net core. But when i want to access NBitcoin Ill get these exception:
Could not load file or assembly 'NBitcoin, Version=5.0.15.0, Culture=neutral, PublicKeyToken=null
jole95
@jole95
image.png
image.png
John Oke
@johnoke
Hi guys
I'm new to programming bitcoin
I use C# and I've been following tutorials on the NBitcoin page
I use NBItcoin and QbitNinjaClient to create address and view balances
Now I'm trying to push transactions but I get this error
image.png
This the code block I am using to push this
jole95
@jole95
@johnoke do you have a transactionRespose? I don't have 😓😣
John Oke
@johnoke
@jole95
Yes I have a transactionresponse
jole95
@jole95
How
@johnoke How did you receive it? Is something wrong in my code?
I use testnet ☹
Andres G. Aragoneses
@knocte
@johnoke don't use QBitNinja
HoloLite
@hololite
Hello, I am new to nbitcoin, a bit overwhelmed with the info.
I want to build and use it under dotnetcore in linux/ubuntu. This is supported right?
Andres G. Aragoneses
@knocte
yes
Matra
@Matra774_twitter
Hi, I have base58 WIF encoded private key and would like to determined which network it belongs to. Is there a better way that just calling Parse on each of the networks and catching exceptions When parse fails?
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@Matra774_twitter I don't think there is, but even this is not a good idea. Because altcoins often use the same base58 prefixes
[mattermost - nicolasdorier]your code parsing should always know which network it is parsing
[mattermost - nicolasdorier]else you are going to run into problems
Matra
@Matra774_twitter
Nicolas, thank for the answer. I know that the key that was received is a bitcoin key, I just try to make sure, that it is from correct network (and warn the user if it is not). Key constructor had an optional network parameter in previous version of NBitcoin, but it looks, that now you are required to pass a non-null value for expected networ. So, I run into troubles when upgrading from NBitcoin 4 to NBitcoin 5. No problem, I'll found a way around it.
btcpaybot
@btcpaybot
[mattermost - Kukks]Not having it before always assumed it was a BTC network one. Now you're forced to specify which is obviously safer and better all around
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@kukks, not not having it before were testing several possibilities
[mattermost - nicolasdorier]this had huge impact on performance
[mattermost - nicolasdorier]@Matra774_twitter if you are sure it is bitcoin, just pass Network.Main
Matra
@Matra774_twitter
I will pass Network.Main and if this fails, I will try others (Testnet,Regtest). I do no really care about performance in my use case (especially not in Testnet). It it becomes an issue, I will check the base58 prefix. Thansk again.
Executee
@Executee
hi, why do i get null when i call this when output is a TxOut of a newly mined coin?
BitcoinAddress dest = output.ScriptPubKey.GetDestinationAddress(Network.Main);
image.png
Executee
@Executee
i get null only when the TxOut is a new coin (block reward). if its a transaction from one address to an other address i get dont get null
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@Executee because not every scriptPubKey can be represented as an address
[mattermost - nicolasdorier]if your code rely on this behavior, then fix your code
[mattermost - nicolasdorier]addresses are just a subset of possible scriptPubKey
Executee
@Executee
when i look at these transaction in a blockchain explorer the outputs have destination addresses.
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]@Executee because they are wrong
[mattermost - nicolasdorier]P2PK does not have addresses
Executee
@Executee
how do i know then which addresses got the first mined bitcoins, when i cant get the address from the outputs
btcpaybot
@btcpaybot
[mattermost - nicolasdorier]here a block explorer showing properly: https://blockstream.info/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
[mattermost - nicolasdorier]outputs does not have address, but scriptPubKey
[mattermost - nicolasdorier]some scriptPubKey can be represented as address, not all
[mattermost - nicolasdorier]read https://programmingblockchain.gitbook.io/programmingblockchain/ it will clarify things
Executee
@Executee
ok thanks :)
btcpaybot
@btcpaybot

[mattermost - farukterzioglu]Hi, hope you are safe,

Sorry to bother you but I am stuck with very urgency.
I was using NBitcoin to sign Tezos transactions. And I was using R and S to create a flat signature, just putting these two side by side,
But after I upgrade NBitcoin, I cant use R,S.

What do you suggest me to do, how and where can I get R,S or equivalent to create a signature (R+S)

@nicolasdorier : https://chat.btcpayserver.org/files/4fzmu7erdjrjmdxfz6jhpa36be/public?h=iVS77CrQ5fEST-7Np9NcARfgnBurWJNpE_OIC-hWSn4

[mattermost - farukterzioglu]Is it possible to get R,S from ToDer()