I hereby claim:
- I am jonatack on github.
- I am jonatack (https://keybase.io/jonatack) on keybase.
- I have a public key ASCaeU38EDbcgqP2Wb2r3yZfg1IlWpLxKk99zYCGoq9xbQo
To claim this, I am signing this object:
| require 'json' | |
| require 'uri' | |
| require 'net/http' | |
| require 'net/https' | |
| ## | |
| # Poloniex Ruby API interface | |
| # | |
| # Documentation text is pretty much 1:1 from the official API documentation | |
| # https://www.poloniex.com/support/api |
| from bitmerchant.wallet import Wallet | |
| from mnemonic import Mnemonic | |
| # put in whatever Trezor generates for you here (or backup from this empty/insecure one as a test) | |
| mnemonic = 'clean health food open blood network differ female lion eagle rough upon update zone antique defense venture uncover mobile charge actress film vocal enough' | |
| passphrase = '' # empty string or whatever you actually choose | |
| path = "m/44'/0'/0'/0/0" # whatever shows up on the UI for that account (everything will start with m/44'/0' since it's bip44) | |
| child = Wallet.from_master_secret(Mnemonic('english').to_seed(mnemonic, passphrase)).get_child_for_path(path) | |
| child.to_address() # '18K9axbPpwqZgngB58nuwsYevL2z6ey4YG' (confirm this matches what Trezor is showing you) |
I hereby claim:
To claim this, I am signing this object:
Last updated: 16 March 2019
Hi! This article now lives at https://jonatack.github.io/articles/how-to-compile-bitcoin-core-and-run-the-tests where I will continue to update it. Cheers.
This is a simplified compilation of the various docs in https://github.com/bitcoin/bitcoin/tree/master/doc. Don't hesitate to read them for more information.
All steps are to be run from your terminal emulator, i.e. the command line.
/bitcoin/src# $AFLPATH
/afl-2.52b: Is a directory
/bitcoin/src# $AFLOUT
/qa-assets/outputs: Is a directory
/bitcoin/src# $DIR_FUZZ_IN
/qa-assets/fuzz_seed_corpus: Is a directoryManual tests of master (at 66ce95a) versus bitcoin/bitcoin#15750 (at b4338c1)
compiling from source and launching src/bitcoind -deprecatedrpc=validateaddress:
(master)$ src/bitcoin-cli getaddressinfo 33wjMTPWcmF12zfQZ2ecuvQfpfZjgVQ4ag
{
"address": "33wjMTPWcmF12zfQZ2ecuvQfpfZjgVQ4ag",
"scriptPubKey": "a91418b8a89d71daba341f2ba4dac25ad08c7f91d72a87",
"ismine": true,
"solvable": true,(pr/15943)$ test/functional/test_runner.py rpc_uptime --coverage
Temporary test directory at /tmp/test_runner_₿_🏃_20190515_133545
Initializing coverage directory at /tmp/coveragehsj4pafy
Remaining jobs: [rpc_uptime.py]
1/1 - rpc_uptime.py passed, Duration: 1 s
TEST | STATUS | DURATION
rpc_uptime.py | ✓ Passed | 1 slist of links for quick copypasting when debating on forums, also useful as a reading list
this was posted on reddit, link is https://www.reddit.com/r/Bitcoin/comments/7mh8c2/long_live_decentralized_bitcoin_a_reading_list/
a trip to the moon requires a rocket with multiple stages by gmaxwell https://www.reddit.com/r/Bitcoin/comments/438hx0/a_trip_to_the_moon_requires_a_rocket_with/
bram cohen, creator of bittorrent, argues against a hard fork to a larger block size
| ~/projects/bitcoin/src ((HEAD detached at origin/pr/15996))$ bitcoin-cli -regtest help bumpfee | |
| bumpfee "txid" ( options ) | |
| Bumps the fee of an opt-in-RBF transaction T, replacing it with a new transaction B. | |
| An opt-in RBF transaction with the given txid must be in the wallet. | |
| The command will pay the additional fee by reducing change outputs or adding inputs when necessary. It may add a new change output if one does not already exist. | |
| If `totalFee` (DEPRECATED) is given, adding inputs is not supported, so there must be a single change output that is big enough or it will fail. | |
| All inputs in the original transaction will be included in the replacement transaction. | |
| The command will fail if the wallet or mempool contains a transaction that spends one of T's outputs. | |
| By default, the new fee will be calculated automatically using estimatesmartfee. |
This document is currently optimized for MacOS. If you would like to help me add Linux equivalent commands, please let me know.
This guide is designed to give beginners of C++ development and/or people new to the bitcoin core code base an overview of the tools available for debugging issues as well as giving hints where issues may trip you up.