< sipa>
xmsx: sorry, this the dev channel for bitcoin core, a c++ bitcoin client
< xmsx>
I'm trying to generate segwit address in PHP but not sure if I got it right, and my bitcoin got corrupted database for some reason so I can't test it properly
< jnewbery>
If you're stop-starting nodes and expect them to pick up changes in bitcoin.conf, then I see no problem with changing it in run_test().
< jnewbery>
meshcollider: by default, the test_framework will start your nodes in self.setup_nodes(), which is called *before* run_test() begins. That means if you don't restart your bitcoin nodes, then they won't see any changes in bitcoin.conf that you make in run_test()
< meshcollider>
jnewbery: is there anything wrong with modifying bitcoin.conf in run_test() or should that only be done in setup_chain() ?
< gribble>
https://github.com/bitcoin/bitcoin/issues/10692 | Make mapBlockIndex and chainActive and all CBlockIndex*es const outside of validation/CChainState by TheBlueMatt · Pull Request #10692 · bitcoin/bitcoin · GitHub
< gribble>
https://github.com/bitcoin/bitcoin/issues/10279 | Add a CChainState class to validation.cpp to take another step towards clarifying internal interfaces by TheBlueMatt · Pull Request #10279 · bitcoin/bitcoin · GitHub
< bitcoin-git>
bitcoin/master 2214954 Wladimir J. van der Laan: Merge #11854: Split up key and script metadata for better type safety...
< bitcoin-git>
[bitcoin] laanwj closed pull request #11854: Split up key and script metadata for better type safety (master...pr/scriptmet) https://github.com/bitcoin/bitcoin/pull/11854
< bitcoin-git>
bitcoin/master 9c8eca7 Russell Yanofsky: Split up key and script metadata for better type safety...
< wumpus>
better to ask in #bitcoin, this is not a support but a development channel, read the topic please
< Randolf>
Guest89357: For support, the #bitcoin channel is probably your best bet.
< Guest89357>
I have a problem related to an old bitcoin core client
< Randolf>
Guest89357: There are many active folks here, but the discussions are usually focused on the development of the various facets of the Bitcoin project.
< gribble>
https://github.com/bitcoin/bitcoin/issues/10692 | Make mapBlockIndex and chainActive and all CBlockIndex*es const outside of validation/CChainState by TheBlueMatt · Pull Request #10692 · bitcoin/bitcoin · GitHub
< bitcoin-git>
[bitcoin] laanwj closed pull request #10574: Remove includes in .cpp files for things the corresponding .h file already included (master...redundant) https://github.com/bitcoin/bitcoin/pull/10574
< bitcoin-git>
bitcoin/master 5d132e8 Wladimir J. van der Laan: Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included...
< bitcoin-git>
bitcoin/master a720b92 practicalswift: Remove includes in .cpp files for things the corresponding .h file already included
< bitcoin-git>
[bitcoin] laanwj closed pull request #10279: Add a CChainState class to validation.cpp to take another step towards clarifying internal interfaces (master...2016-12-cconsensus) https://github.com/bitcoin/bitcoin/pull/10279
< bitcoin-git>
bitcoin/master e104f0f Matt Corallo: Move block writing out of AcceptBlock
< bitcoin-git>
bitcoin/master 50701ba Matt Corallo: Move txindex/undo data disk location stuff out of ConnectBlock
< bitcoin-git>
bitcoin/master 93a34cf Matt Corallo: Make DisconnectBlock unaware of where undo data resides on disk
< bitcoin-git>
[bitcoin] laanwj closed pull request #11831: Always return true if AppInitMain got to the end (master...2017-12-startup-exit-return-code-race) https://github.com/bitcoin/bitcoin/pull/11831
< bitcoin-git>
bitcoin/master 07c4838 Matt Corallo: Always return true if AppInitMain got to the end...
< bitcoin-git>
bitcoin/master d48ab83 Wladimir J. van der Laan: Merge #11831: Always return true if AppInitMain got to the end...
< gmaxwell>
kallewoof: bitcoin core doesn't rebroadcast third party txn, but random bozos do, because they think they're helping in some cases, or because they want to pump up mempool stats. or god knows why
< BlueMatt>
Provoostenator: well my concern is ux for average users...if I'm sending to someone I know understands bitcoin, fine, no issue, if its some guy who's receiving a withdraw from an atm/their exchange, they may be very confused
< BlueMatt>
no need to relay it in bitcoin p2p net?
< gmaxwell>
adiabat: there is no catch, if bitcoin core ever does replacement fully I assume it'll presign with locktimes.
< jonasschnelli>
Not sure if we want a key leading to the Bitcoin Platinum project in our repository,... could be missued for advertising?
< jonasschnelli>
The key links to btcplt.org (Bitcoin Platinum)
< BlueMatt>
worth reaching out to people who use bitcoin core's wallet in reasonable volume to ask what they'd want from such an interface
< Randolf>
alcipir: My suggestion is to learn C++ first, and then learn about programming Bitcoin/blockchain. The reason is that both have learning curves that are probably better-studied separately.
< Provoostenator>
Or you could stalk your friends with C++ skills and manipulate them into becoming interested in Bitcoin, quitting their current job and helping out :-)
< cluelessperson>
I understand the frustration. It just keeps coming up for me because I keep getting morons that can't seem to understand how it works in #bitcoin
< cluelessperson>
I have a serious question. What are thoughts on seperating the Bitcoin Core wallet and Bitcoin Core node?
< bitcoin-git>
bitcoin/master 8ab6c0b Wladimir J. van der Laan: Merge #11839: don't attempt mempool entry for wallet transactions on startup if alr…...
< bitcoin-git>
bitcoin/master 6697a70 Gregory Sanders: add test for unconfirmed balance between restarts
< bitcoin-git>
bitcoin/master 6ba8f30 Gregory Sanders: don't attempt mempool entry for wallet transactions on startup if already in mempool
< bitcoin-git>
[bitcoin] promag opened pull request #11864: wallet: Make fund transaction atomic (master...2017-12-atomic-fundtransaction) https://github.com/bitcoin/bitcoin/pull/11864
< Provoostenator>
AdilibA: I think this is more appropriate for e.g. #bitcoin-wizards or the bitcoin-dev mailinglist. Unless you have a proof-of-concept patch ready to go specifically for the Bitcoin Core client (which this channel is about).
< warren>
The Bitcoin gitian instructions say to use only lxc but the way I've used it for the past few years is with qemu-kvm instead
< warren>
Randolf: no, this is very gitian and bitcoin specific
< bitcoin-git>
[bitcoin] ryanofsky opened pull request #11854: Split up key and script metadata for better type safety (master...pr/scriptmet) https://github.com/bitcoin/bitcoin/pull/11854
< gribble>
https://github.com/bitcoin/bitcoin/issues/11800 | Bitcoin is returning higher fees for 36 block window than 2 block window (on testnet) · Issue #11800 · bitcoin/bitcoin · GitHub
< adiabat>
regarding the weird fee estimates mentioned yesterday, I have similar behavior on mainnet with bitcoin-qt right now
< valval>
hi, anyone able to assists me in setting up of bitcoin core for modification?
< sipa>
#bitcoin
< binarycat>
I have a Bitcoin Core wallet.dat which I've had forever. Today, I made a fresh wallet.dat, created a receive address and went back to the original wallet.dat and transferred almost all of the Bitcoins to the new one, for the sake of being able to safely "claim" Bitcoin Gold/Cash/whatever without risking that the software just steals my Bitcoin instead of giving me other coins (and also to put the new wallet.dat in offline storage.... But the
< aj>
wumpus: hmm, i might see if that works actually. i was thinking about having lightningbot update a repo of its meeting logs automatically (and use an Attendees file there to pick people to highlight), but got stuck on how to push... https://github.com/ajtowns/bitcoin-core-meetings
< wumpus>
aj: yep non-protected branches would be fine; allow it to push to laanwj/bitcoin but not bitcoin/bitcoin master for example
< Randolf>
jonasschnelli: I've done a lot of Java development, and this is how JFC/Swing and the newer JavaFX handle things. The use of atomic variables and thread-safe queues becomes pretty important. Maybe the original GUI for Bitcoin was designed with more development convenience in mind just so that the
< gribble>
https://github.com/bitcoin/bitcoin/issues/10267 | New -includeconf argument for including external configuration files by kallewoof · Pull Request #10267 · bitcoin/bitcoin · GitHub
< wumpus>
currently if you define e.g. port or bind in bitcoin.conf you will get collisions when you run both testnet and mainnet on the same machine
< meshcollider>
one idea I had was suggested in https://github.com/bitcoin/bitcoin/pull/10996#issuecomment-346189099, basically we default to using root-level bitcoin.conf and network specific network.conf if they exist, but if -conf is specified then we just use that and not the network specific one too
< gribble>
https://github.com/bitcoin/bitcoin/issues/10267 | New -includeconf argument for including external configuration files by kallewoof · Pull Request #10267 · bitcoin/bitcoin · GitHub
< gribble>
https://github.com/bitcoin/bitcoin/issues/11839 | dont attempt mempool entry for wallet transactions on startup if alr… by instagibbs · Pull Request #11839 · bitcoin/bitcoin · GitHub
< wumpus>
(there's a similar consideration on whether to do flto on just bitcoin core or all the dependencies as well. Though that experiment was put on hold when it turned out flto somehow negatively affected performance, at least in a specific case)
< bitcoin-git>
bitcoin/master 7630a1f Wladimir J. van der Laan: Merge #11829: Test datadir specified in conf file exists...
< bitcoin-git>
bitcoin/master 529b866 MeshCollider: Test datadir in conf file exists
< wumpus>
none of the dependencies that are not built into bitcoin's source tree are performance critical (maybe with the exception of boost, but that's mostly header only?)
< bitcoin-git>
[bitcoin] laanwj closed pull request #11602: utils: removed deprecated check and function for OpenSSL compatiblity (master...old_openssl_names) https://github.com/bitcoin/bitcoin/pull/11602
< wumpus>
agree, distro packages for bitcoin are a bad idea if they're not maintained
< wumpus>
(it might in the future if someone adds support for the ARM crypto intrinsics to bitcoin)
< sipa>
GAit: "--with-asm=arm --enable-experimental" are libsecp256k1 configure options; the " --enable-experimental-asm" is a bitcoin core configure option
< meshcollider>
Usman_Mutawakil: the main() function for bitcoind is in bitcoind.cpp, for bitcoin-qt it is in qt/bitcoin.cpp and there is one in bitcoin-tx.cpp and bitcoin-cli.cpp for their respective binaries too
< cluelessperson>
is bitcoin core planning on implementing lightning built in?
< gribble>
https://github.com/bitcoin/bitcoin/issues/11839 | dont attempt mempool entry for wallet transactions on startup if alr… by instagibbs · Pull Request #11839 · bitcoin/bitcoin · GitHub
< hkjn0>
hm, right. so I guess that L1289-1290 in bitcoin's configure.ac would be where to pass through the config flags to secp256k1: AC_CONFIG_SUBDIRS([src/secp256k1])
< wumpus>
the only documentation of it is in ./configure. secp256's configure at that, not bitcoin's.
< bitcoin-git>
bitcoin/master 434526a Karl-Johan Alm: [test] Add tests for getrawtransaction with block hash.
< bitcoin-git>
bitcoin/master b167951 Karl-Johan Alm: [rpc] Allow getrawtransaction to take optional blockhash to fetch transaction from a block directly.
< BlueMatt>
spudowiar: lots of folks seem like the "bitcoin has a p2p network, lets shove more features in it so that *everything* can use it!" approach, cause its easy, but it also doesnt scale....ultimately the bitcoin p2p network is full of garbage evil nodes anyway, its not magic...
< bitcoin-git>
[bitcoin] TheBlueMatt opened pull request #11834: [verify-commits] Fix gpg.sh's echoing for commits with '\n' (master...2017-12-verify-commits-fix) https://github.com/bitcoin/bitcoin/pull/11834
< bitcoin-git>
[bitcoin] TheBlueMatt opened pull request #11831: Always return true if AppInitMain got to the end (master...2017-12-startup-exit-return-code-race) https://github.com/bitcoin/bitcoin/pull/11831
< bitcoin-git>
[bitcoin] MeshCollider opened pull request #11829: Test datadir specified in conf file exists (master...201712_datadir_crash) https://github.com/bitcoin/bitcoin/pull/11829
< kallewoof>
I guess I'll try linking directly and see how far that gets me. I suspect there will be a lot of issues where the bitcoin code expects a fully fledged bitcoin instance running.
< kallewoof>
Hum. I could avoid a lot of reinventing wheels by simply requiring libbitcoin_[x].a in the indexer to link p2p stuff in. Potential minefield, but would be super easy to keep up to date with bitcoin core if it worked.
< kallewoof>
And yeah, we agreed this should be an external thing that either uses hooks in bitcoin or implements the p2p protocol and talks to the network directly.
< gribble>
https://github.com/bitcoin/bitcoin/issues/10275 | [rpc] Allow fetching tx directly from specified block in getrawtransaction by kallewoof · Pull Request #10275 · bitcoin/bitcoin · GitHub
< Randolf>
esotericnonsense: For Bitcoin stuff, I'd create custom datatypes that save the data in binary format.
< kallewoof>
I think having hooks in bitcoin core that let such a system exist separately is a good plan. It would only rely on API breakage, which bitcoin core is very careful about.
< kallewoof>
I've been asked about address index on top of bitcoin core (to replace the unmaintained fork that exists somewhere else). What are people's opinions on this? I know some people prefer a minimal code base, but having an address index option seems like it would alleviate a lot of problems in a lot of places.
< notabot_>
RK_: bitcoin.org is the best place to start.
< notabot_>
mmhhtt: try #bitcoin channel or reddit
< mmhhtt>
#bitcoin-core-dev
< RK_>
I want to know about bitcoin
< mmhhtt>
Hello, Is there anyone knows to how can build a exchange market for other country? Is there any request from bitcoin company to me for making exc market?
< Randolf>
These servers don't have any GUI stuff installed. So I won't be able to try bitcoin-qt on them. But I could at least try bitcoin-qt on Windows 10 to confirm whether the same problem occurs cross-platform.
< achow101>
also, i'm running bitcoin-qt right now, not bitcoind
< xRavenheart>
Is anyone able to first provide me with a clear architecture diagram of bitcoin?
< xRavenheart>
E.g. For instance Bitcoin Core has optimizations 1,2 and Electrum has optimizations 3,4
< sipa>
xRavenheart: you're welcome here to ask questions about bitcoin's design and operation
< Randolf>
Dizzle: Ah, yes. I suggested that asking here may be appropriate since it might involve core development. I also suggested that they ask in the #bitcoin and ##altcoins channel.
< Dizzle>
Randolf: he's here, rejoined. I think luke-jr was just suggesting he ask elsewhere, e.g. #bitcoin
< sipa>
02:47:32 < Randolf> xRavenheart: What's your school project about? Bitcoin development?