<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matthew Ward on Medium]]></title>
        <description><![CDATA[Stories by Matthew Ward on Medium]]></description>
        <link>https://medium.com/@CoinCornerMatt?source=rss-538103c6991f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*kDo3trXSegI5UXyMrOGeAQ.jpeg</url>
            <title>Stories by Matthew Ward on Medium</title>
            <link>https://medium.com/@CoinCornerMatt?source=rss-538103c6991f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:43:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@CoinCornerMatt/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to run a Bitcoin node]]></title>
            <link>https://blog.coincorner.com/how-to-run-a-bitcoin-node-22705fc0b5b0?source=rss-538103c6991f------2</link>
            <guid isPermaLink="false">https://medium.com/p/22705fc0b5b0</guid>
            <category><![CDATA[bitcoin-news]]></category>
            <dc:creator><![CDATA[Matthew Ward]]></dc:creator>
            <pubDate>Thu, 03 Nov 2022 13:43:29 GMT</pubDate>
            <atom:updated>2023-02-28T10:31:30.798Z</atom:updated>
            <content:encoded><![CDATA[<h4>4 easy ways to run your own Bitcoin node</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aA9PpVzYWwTg-wwY2Z_Reg.jpeg" /></figure><p>It’s Node-vember!</p><p>If you’re not running a bitcoin lightning node, you should run one; it has never been easier.</p><p>Here are a few options (in order of easiest to most technical)…</p><h3>Umbrel</h3><p>Umbrel is great for non-techies that still want control of their finance. All you need is a Raspberry Pi, SD card and an SSD. With a simple installation, and great UI/App Store, Umbrel is the perfect balance for many between ease of use and usefulness.<br><a href="https://umbrel.com/">https://umbrel.com/</a></p><h3>myNode</h3><p>Very similar to Umbrel, myNode is a simple UI with an array of apps on their app store. It’s a similar installation process to Umbrel, so this is mainly down to preference.<br><a href="https://mynodebtc.github.io/intro/getting-started.html">https://mynodebtc.github.io/intro/getting-started.html</a></p><h3>Bitcoin Core</h3><p>If you have a computer that you’re happy to use as your Bitcoin node too, you can just run Bitcoin Core. This is as simple as click and install.<br><a href="https://t.co/hu0bijwyIP">https://bitcoin.org/en/full-node#what-is-a-full-node</a></p><p>You can always install a lightning wallet on top of this later on down the line as LND just uses RPC to communicate with the node. So you can theoretically use any implementation on any computer on your local network. However here are some instructions for LND:<br><a href="https://docs.lightning.engineering/lightning-network-tools/lnd/run-lnd">https://docs.lightning.engineering/lightning-network-tools/lnd/run-lnd</a></p><h3>RaspiBolt</h3><p>For those that are more tech-literate, the RaspiBolt guide is a great way to learn the ins-and-outs of running a full node with a lightning wallet attached. It’s a weekend project, but you’ll come away with great knowledge and also a full node.<br><a href="https://raspibolt.org/">https://t.co/gtxvvrtgaN</a></p><h3>DIY</h3><p>If you are hardcore and want to go down the DIY route (with lightning), here is a good list of Lightning implementations read up on before choosing.<br><a href="https://medium.com/@fulgur.ventures/an-overview-of-lightning-network-implementations-d670255a6cfa">https://medium.com/@fulgur.ventures/an-overview-of-lightning-network-implementations-d670255a6cfa</a></p><p>All of these options are open source and open for contributions. If you want to contribute to Bitcoin Core, check out these guides for <a href="https://blog.coincorner.com/bitcoin-core-development-on-macos-a-step-by-step-guide-5ecf8b17eb49">MacOS</a> and <a href="https://blog.coincorner.com/bitcoin-core-development-on-windows-a-step-by-step-guide-2998c13e74a5">Windows</a>. Every contribution helps!</p><p><em>This communication is for information and education purposes only and is not intended as promotional material in any respect. All posts are the opinion of the author and should not be construed as investment advice and the opinions expressed do not necessarily reflect the views of CoinCorner Ltd. Cryptocurrencies are unregulated in the UK. Crypto profits may be subject to Capital Gains Tax. The value of investments is variable and can go down as well as up. Any references to past or future performance are not, and should not be taken as, a reliable indicator of future results. CoinCorner Ltd makes no representation and assumes no liability as to the accuracy or completeness of the content of this publication.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22705fc0b5b0" width="1" height="1" alt=""><hr><p><a href="https://blog.coincorner.com/how-to-run-a-bitcoin-node-22705fc0b5b0">How to run a Bitcoin node</a> was originally published in <a href="https://blog.coincorner.com/">CoinCorner Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitcoin Core Development on MacOS — A Step by Step Guide]]></title>
            <link>https://blog.coincorner.com/bitcoin-core-development-on-macos-a-step-by-step-guide-5ecf8b17eb49?source=rss-538103c6991f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ecf8b17eb49</guid>
            <category><![CDATA[bitcoin-core]]></category>
            <category><![CDATA[company]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <dc:creator><![CDATA[Matthew Ward]]></dc:creator>
            <pubDate>Tue, 03 Mar 2020 17:01:50 GMT</pubDate>
            <atom:updated>2020-04-08T09:18:39.372Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bitcoin Core Development on MacOS — A Step by Step Guide</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_HE8NPOjLmMtFzD661BqQ.jpeg" /></figure><h3>Background</h3><p>CoinCorner is a UK <a href="https://www.coincorner.com/">Bitcoin</a> exchange founded in 2014 — we’re a small, dedicated team of Bitcoin enthusiasts.</p><p>Last summer, we were finally in a position as a company (over the years we’ve chosen to stay independent and not take VC/institutional investment, but that’s a whole different story…) where we could begin to assign some of our team’s resources to giving back to the community/industry. We began a number of projects — one being an introduction to core development for our tech team — in the hope that they would not only continue to contribute in their own time, but also help to encourage others to get involved.</p><p>The tech team assigned 2 hours per week to slowly delve into the Bitcoin Core code and development process. We worked together to eventually begin to understand the masterpiece that is Bitcoin and fixed some issues within the code. 4 of the team have now contributed to the latest version of Bitcoin Core —<a href="https://twitter.com/CoinCornerMatt">myself</a>, <a href="https://twitter.com/CoinCornerZakk">Zakk</a>, <a href="https://twitter.com/CoinCornerDanny">Danny</a>, and <a href="https://twitter.com/_JCrookshank">Jeremy</a>.</p><p>Please be aware that this guide is a very basic flow of how you would go about beginning to contribute to Bitcoin Core. This may not be the best, most efficient or in some people’s opinion even the correct way, but it’s the route we’ve taken so far!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1rOLPt_Q2qE_FR5-PNN_5g.jpeg" /><figcaption>CoinCorner’s Bitcoin Core Contributors</figcaption></figure><h3>Introduction</h3><p>In this article, we’ve produced a step-by-step guide for contributing code to Bitcoin Core, allowing developers with little to no experience within Bitcoin development to learn the basic process and start their Bitcoin Core development career.</p><p>Developing with Bitcoin Core can seem daunting at first, especially if you don’t have experience with some of the technologies used by Bitcoin Core, such as Git or C++. Don’t worry though, as long as you have some programming knowledge and experience, your first pull request will be a breeze.</p><p>Bitcoin is open-source and contributed to by developers from around the world — anyone can contribute and at different levels. We, of course, want more coding geniuses to work on Bitcoin. What’s great about Bitcoin is that it’s so vast with various technologies that you can contribute in many different ways.</p><p>The industry is always screaming for more contributors, whether that’s just reviewing or testing, every little helps! So, with a very strong tone here, “Don’t be scared to jump in!”.</p><h3>Prerequisites</h3><p>Firstly, you’ll need a MacOS computer, with at least 3GB of free disk space (some of the dependencies will require more space, but you may have these installed already).</p><p>You’ll need a GitHub account (sign up for a free one <a href="https://github.com/">here</a>) in order to create a fork of the repository, create pull requests and comment on issues.</p><h3>Creating your own fork</h3><p>Make sure you’re signed in to GitHub and then navigate to <a href="https://github.com/bitcoin/bitcoin">https://github.com/bitcoin/bitcoin</a> and click “Fork” in the top right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AuxIPHAWVEXsF1v4" /></figure><p>Essentially, this will create your own copy of the Bitcoin code, that you can modify freely in your own environment. Any changes made to this fork won’t affect other developers.</p><p>This “copy” is attached to your GitHub account, so you can access this from anywhere, on any computer.</p><h3>Downloading to your local environment</h3><p>To edit, build and debug the code, you’ll need to have your fork available to you locally. To achieve this, you’ll need a Git client. There are many options available, so feel free to use anything you have previous experience with, or research the client best for you.</p><p>At CoinCorner, we’ve used two popular clients: GitHub desktop and the Git CLI. After using both with Bitcoin Core, we recommend the CLI for now, as GitHub Desktop has a few issues and isn’t as powerful as the CLI. (Please note: if you use the CLI, you’ll need to have basic knowledge of a computer terminal — there are many resources online to teach this and it’s a simple concept to learn).</p><p>To install the Git CLI, open a terminal and type “<strong><em>git --version</em></strong>”. If it’s installed, it will respond with a version number. If not, it will prompt you to install.</p><p>Some versions of Mac won’t prompt you to install at this point however, so if this fails, you can download the .dmg from <a href="https://git-scm.com/download/mac">https://git-scm.com/download/mac</a>. Just run through the installer like a normal .dmg and restart your computer after installation.</p><p>Open a new terminal window and navigate using ‘<strong><em>cd path/to/folder</em></strong>’ to the folder you want to download Bitcoin Core to (e.g. ‘<strong><em>cd /Documents</em></strong>’). Create a Bitcoin directory by typing ‘<strong><em>mkdir bitcoin</em></strong>’. Navigate again to this new directory by typing ‘<strong><em>cd bitcoin</em></strong>’.</p><p>Next, run the following command: ‘<strong><em>git clone </em></strong><a href="https://github.com/%7BYOUR"><strong><em>https://github.com/</em></strong></a><strong><em>bitcoin/bitcoin.git</em></strong>’</p><p>This will download the code to your computer. It should only take a few minutes depending on your internet speed.</p><h3>Installing dependencies</h3><p>We used <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md">this guide</a> to help install Bitcoin Core on Mac, so feel free to use this and come back after the installation is complete, or keep reading and follow our similar guide.</p><p>To build Bitcoin Core on Mac, you need quite a few third-party dependencies.</p><p>Start by installing Xcode CLI Tools by running this command in a terminal window: ‘<strong><em>xcode-select --install</em></strong>’. This will bring up a pop-up window that will ask permission to install.</p><p>If you usually develop software on your Mac, you may already have homebrew installed. However, if not, <a href="https://treehouse.github.io/installation-guides/mac/homebrew">follow these steps to install</a>.</p><p>There are many <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md">dependencies</a> that Bitcoin Core relies on but with Homebrew, you can easily install most of these with one command.</p><p>Run: ‘<strong><em>brew install automake berkeley-db4 libtool boost miniupnpc pkg-config python qt libevent qrencode</em></strong>’ in a terminal window. This might take a while, so grab a coffee while you wait.</p><p>If you want to be able to build a disk image (.dmg) file, you’ll also need to install RSVG with the following command: ‘<strong><em>brew install librsvg</em></strong>’.</p><p><strong>Make sure you’re in the root of your repository </strong>(‘bitcoin’ folder)<strong> </strong>in a terminal window, and run the following command: ‘<strong><em>./contrib/install_db4.sh .</em></strong>’.</p><p>Please note: This command only needs to run if the wallet is enabled, which we don’t disable the wallet in our builds. The wallet would be disabled if your intention is to run a P2P node without a wallet, but since we’re writing code, we’ll want to keep the wallet enabled.</p><p>Note: If you’re having issues with some commands, make sure you’re not running this on an exFAT or a FAT32 partition, as <a href="https://github.com/bitcoin/bitcoin/issues/16478">this can cause some issues</a> with file permissions.</p><p>Now that you’ve installed each dependency, it’s time to build the code for the first time and get your development version of Bitcoin Core running.</p><p>There are several commands that should be used, giving you access to several different build states.</p><p>For now, here are the main commands you’ll be using to run unit tests on your code and build an executable.</p><ol><li><strong><em>./autogen.sh </em></strong><em>— Prepares the files for build (based on your platform) and creates configure file.</em></li><li><strong><em>./configure </em></strong><em>— Creates make file, allowing ‘make’ commands to run.</em></li><li><strong>make </strong>— B<em>uilds (this might take a while).</em></li><li><strong><em>make check</em></strong> <em>— Builds and runs unit tests.</em></li><li><strong><em>make deploy</em></strong><em> — Builds and creates a deployable application.</em></li></ol><p>When running the ‘make’ command, it’s recommended to also run the unit tests along with it. This can be done by writing ‘<strong><em>make check</em></strong>’.</p><p>Unit testing is a great way to check you haven’t accidentally broken any existing functionality when writing code by automatically testing most logic code. More details can be found <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#build-bitcoin-core">here</a>.</p><p>Run each of these 5 commands in the root of your repository (the Bitcoin folder you created before) in order for full testability.</p><h3>Branching for each feature</h3><p>Git comes with a handy feature that keeps different changes separate before they’re ready to be merged into master. This is called ‘branching’ — it essentially creates a separate copy of the codebase from a specified point in time.</p><p>It’s a good idea to create a branch for each feature/bug request that you work on as it gives a more organised structure and makes it easier to find historical changesets. It also allows you to move freely between development tracks with only one command.</p><p>Before creating your branch, check you’re on the master branch by entering the following command: ‘<strong><em>git branch</em></strong>’.</p><p>Next, update your master to the latest remote commit using these two commands:</p><p>‘<strong><em>git fetch origin</em></strong>’</p><p>‘<strong><em>git pull</em></strong>’</p><p>Now you’re up to date, you can create your new branch (remember to give it a short, but still descriptive name that will be easy to refer back to in future. E.g. <em>Dec-19-remove-fee-label</em>). Type the following command: ‘<strong><em>git checkout -b name_of_new_branch</em></strong>’</p><h3>Using testnet/regtest</h3><p>Instead of downloading the mainnet blockchain to test with and possibly corrupting the blocks for yourself (trust me, it takes too long to download each time if you’re just developing), you can use either the testnet or regtest.</p><p>The testnet allows you to use a real blockchain with other developers/testers, but you can use public <a href="https://tpfaucet.appspot.com/">faucets </a>to give yourself coins.</p><p><em>However, please don’t abuse these faucets — only take what you’re going to need to test with. Consider sending the coins back when you’re finished.</em></p><p>To use testnet, simply add ‘<strong><em>-testnet</em></strong>’ to the command when running the bitcoind (see section “Running CLI or GUI” below for details), or if you’re running the GUI, add ‘<strong><em>testnet=1</em></strong>’ to your bitcoin.conf file.</p><p>To edit your bitcoin.conf file, navigate to ‘<strong><em>/Users/&lt;username&gt;/Library/Application Support/Bitcoin/bitcoin.conf</em></strong>’ and right click the ‘bitcoin.conf’ file, opening it with a text editor (such as Text Edit). (Please note: if you edit this, you must restart Bitcoin Core before changes can take effect. This file may also not exist yet. If it doesn’t, simply create a file named ‘bitcoin.conf’ and you can edit this freely).</p><p>Regtest is slightly different given the fact that you have your own private blockchain and can create blocks / give yourself coins via the command line (it’s essentially god mode). This blockchain isn’t shared with other developers, so feel free to use this as a learning tool.</p><p>For more information, <a href="https://bitcoin.org/en/developer-examples#testing-applications">visit here</a>.</p><h3>Exploring issues</h3><p>Now you should be raring and ready to go with Bitcoin Core development.</p><p>There are two routes you can go down when deciding what to develop if you’re not already clear on the changes you want to make.</p><p>You can either explore the <a href="https://github.com/bitcoin/bitcoin/issues">active issues</a> on GitHub, or you can use the application for a while and find bug fixes/improvements that might be helpful.</p><p>If you choose the latter, create an issue for any changes you might want to make so you can discuss it with other developers first.</p><p>Finding the perfect issue to work on can be made easier by using the labels that are attached to each issue. We would recommend two labels for your first issue, both the <em>good first issue </em>and the <em>GUI</em><strong><em> </em></strong>labels. The first is self-explanatory, and the GUI issues are usually quite easy to wrap your head around if you’re not an experienced C++ developer.</p><p>You can filter the issues and sort them by open/closed in the toolbar at the top.</p><p>To get an idea for the kind of first-issues you can begin with, take a look at one of my <a href="https://github.com/bitcoin/bitcoin/pull/17157">first pull requests</a>. It’s a very simple documentation change, but it allowed me to get used to the whole process and I learned about the structure of the Bitcoin repo at the same time.</p><p>The actual change — <a href="https://github.com/bitcoin/bitcoin/pull/17157/files">https://github.com/bitcoin/bitcoin/pull/17157/files</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ViE01_aMLoIel1gz" /></figure><h3>Running CLI or GUI</h3><p>By now you should have found an issue you want to work on/change you want to make. This issue will define whether you should be running the CLI or the GUI.</p><p>Running the GUI on Mac requires the RSVG library we talked about before. After you run ‘<strong><em>make deploy</em></strong>’, a .dmg file should appear. Treat this as one you might have downloaded before and install it into your applications folder.</p><p>Running the CLI on Mac is as simple as running ‘<strong><em>./src/bitcoind -daemon</em></strong>’ in your development folder, after you’ve successfully run ‘<strong><em>make check</em></strong>‘. (Remember to add -testnet to this command if you’re running testnet.)</p><p>Running ‘<strong><em>./src/bitcoin-cli --help</em></strong>’ will output a list of commands that you can use.</p><h3>Committing change</h3><p>Once you’ve made a valuable change and have tested it works, you can commit this change to your forked repo. This is the first step in getting your code change into the master Bitcoin repository.</p><p>Before doing this, you’ll want to do two things. Add the master Bitcoin repository to your upstream (meaning you pull any new changes from the Bitcoin remote repository when you get the latest version) and then sync these changes.</p><p>Start adding the upstream by running this command ‘<strong><em>git remote add upstream </em></strong><a href="https://github.com/bitcoin/bitcoin.git"><strong><em>https://github.com/bitcoin/bitcoin.git</em></strong></a>’.</p><p>You can then pull any changes with this command: <strong><em>git pull upstream</em></strong></p><p>(Note: You may need to make some merges. <strong>Don’t remove anyone else’s changes</strong> or your pull request will be denied.)</p><p>Now you’ve synced all new code changes from the upstream repository, you can commit your changes.</p><p>To begin, use this command to commit to your local git repository: ‘<strong><em>git commit -a -m “Insert Informative Commit Message Here”</em></strong>’.</p><p>Then use this command to push to your forked repository in GitHub: ‘<strong><em>git push origin</em></strong>’.</p><h3>Creating a pull request</h3><p>Jump back over to GitHub now to create your pull request on the Bitcoin repository.</p><p>Go to the Bitcoin repository and click “new pull request”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lH-85T2AmTRjifTQ" /></figure><p>Since we’ve made the change in a different repository on GitHub, we need to click “compare across forks”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qRNH-FCmeJzkIfYd" /></figure><p>This will give you access to choose from different repositories. Under “base repository”, choose your own repository, and under “base” choose your branch that you made the changes on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ID-8Wbdt4OrLnUfz" /></figure><p>This should bring in your changes into the section below.</p><p>Read through the help text in the text field, as this will tell you what you need to write, to make your pull request useful. Fill out this field in <em>as much detail as possible</em> for your change and click “Create Pull Request”.</p><p>If all goes well, your pull request will be merged into the master branch. This will mean your change has been accepted and will go live in the next release of Bitcoin Core (which is roughly every 4-6 months).</p><h3>Additional changes to Pull Request</h3><p>Once your code has been reviewed, another developer might ask you to make changes to your code. If this happens, the commit process will be slightly different.</p><p>Firstly, you won’t need to make another pull request as long as you commit this change to the same branch that you created earlier. The one that you made your changes on.</p><p>Secondly, after you make the new change you’ll need to squash your commits and rebase.</p><p>After you’ve made this change, commit it with ‘<strong><em>git commit -a -m “Insert Informative Commit Message Here”</em></strong>’.</p><p>Then, before pushing the commit to the remote repository, you need to rebase ‘<strong><em>git rebase -i HEAD~n</em></strong>’.</p><p>Replace “n” with the number of commits in the pull request (if you have only made one commit before this, replace with 1. E.g. ‘<strong><em>git rebase -i HEAD~1</em></strong>’).</p><p>Next, set commits (except the one in the first line) from ‘pick’ to ‘squash’, save and quit. On the next screen, edit/refine commit messages, and save and quit.</p><p>After you’re done, you need to force push this to GitHub with the following command: ‘<strong><em>git push -f #</em></strong>’.</p><p>This should be automatically picked up by your pull request.</p><p>Double check the pull request has updated with the new change, then comment that you’ve made the change and “squashed &amp; rebased”. Ask for a review on the change again and another developer should pick it up.</p><h3>Peer reviews</h3><p>As Bitcoin is open-source software, most developers are working on it in their spare time. This might mean peer reviews on your issue/pull request can take a little while longer than traditional feedback you may be used to. Be patient and make sure that when you’re responding to anybody, you’re descriptive of what you’re trying to say and you’re polite.</p><p>At first, some of the terms developers might use on GitHub may be rather confusing. Here is a quick glossary of some terms you might see:</p><ul><li><strong>Concept ACK</strong> — Agrees with the change but hasn’t reviewed/tested any code.</li><li><strong>ACK</strong> — Change acknowledged (very loose term).</li><li><strong>NACK </strong>— Change not acknowledged.</li><li><strong>utACK </strong>— Change acknowledged and code briefly reviewed but not tested the code.</li><li><strong>Tested ACK</strong> — Changed acknowledged and code reviewed/tested.</li><li><strong>NIT </strong>— Small imperfection.</li></ul><h3>Code formatting</h3><p>If you’ve worked on open-source software before, you’ll know that the formatting of your code is important. Developers like consistency, so it’s vital that you follow the same formatting rules as everyone else.</p><p>As a quick overview, Bitcoin Core follows these basic rules when writing code:</p><ul><li>Braces on new lines for classes, functions and methods. The same line for everything else.</li><li>4 space indentation (no tabs)… This one is controversial 😉</li><li>No spaces in parenthesis ‘<strong><em>( string NotLikeThis )</em></strong>’ but <strong><em>(string LikeThis)</em></strong></li><li><strong><em>‘++i</em></strong>’ instead of ‘<strong><em>i++</em></strong>’.</li></ul><p>You can read a full description of the code formatting that Bitcoin uses <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md">here</a>. This is well worth a read if you’re looking to do multiple pull requests.</p><h3>IRC chat for help</h3><p>If you get to a stage where you’re stuck, you can find other Bitcoin developers on the <a href="https://webchat.freenode.net/#bitcoin-core-dev">IRC development channel</a>. Feel free to ask any questions you may have here, somebody will always be online, ready to help.</p><p>Don’t feel awkward asking questions. Everyone has to start at some point and asking experienced Bitcoin developers for help is a great way of learning.</p><h3>Tips and tricks</h3><p><a href="https://github.com/jlopp">Jameson Lopp</a> has created a <a href="https://jlopp.github.io/bitcoin-core-config-generator/">handy tool</a> to generate bitcoin.conf files, for whatever you may be developing at the time.</p><h3>What next?</h3><p>Keep working on more issues, gradually try and push yourself out of your comfort zone and pick issues that confuse you at first. You’ll quickly get the gist of it.</p><p>You can also review/test other developers’ code/pull requests. The more developers that test code, the less likely bugs are going to fall into the system. It’s helpful to other developers and is a good way of getting your name out there.</p><p>Bitcoin has a mailing list for developers to talk about new/controversial features. You can join this and become part of the bigger discussion. <a href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev">Find out more here.</a></p><p>You can also read old BIPs (Bitcoin Improvement Protocol) on <a href="https://github.com/bitcoin/bips">GitHub</a>. BIPs are a way for Bitcoin developers to propose large changes to Bitcoin RPC and Bitcoin Core.</p><p>Spend some time sitting and reading through some of the existing code, and especially reading the comments. Try to understand what the code might be doing, even if you’re not quite sure. Search around the Bitcoin forums for what features might be doing, and ask the IRC chat for explanations into what functions might be for.</p><p>Finally, good luck! Get in touch with our team over on Twitter if you have any questions about this guide or contributing code to Bitcoin Core.</p><h4>Follow <a href="https://twitter.com/CoinCornerMatt">Matt</a>, <a href="https://twitter.com/CoinCornerZakk">Zakk</a>, <a href="https://twitter.com/CoinCornerDanny">Danny</a>, <a href="https://twitter.com/_JCrookshank">Jeremy</a> and <a href="https://twitter.com/CoinCorner">CoinCorner</a> on Twitter!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ecf8b17eb49" width="1" height="1" alt=""><hr><p><a href="https://blog.coincorner.com/bitcoin-core-development-on-macos-a-step-by-step-guide-5ecf8b17eb49">Bitcoin Core Development on MacOS — A Step by Step Guide</a> was originally published in <a href="https://blog.coincorner.com/">CoinCorner Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is an API?]]></title>
            <link>https://blog.coincorner.com/what-is-an-api-75b98f6f23c7?source=rss-538103c6991f------2</link>
            <guid isPermaLink="false">https://medium.com/p/75b98f6f23c7</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[bitcoin-industry]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Matthew Ward]]></dc:creator>
            <pubDate>Mon, 18 Mar 2019 09:53:39 GMT</pubDate>
            <atom:updated>2019-03-18T09:53:39.211Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*51GkvjZz5xMPKESK9Nfhxw.jpeg" /></figure><p>A Web API, or Application Programming Interface, is a defined set of routines that a company can offer to clients who are looking to access certain data.</p><p><strong>…Say what?</strong></p><p>In layman terms, an API is a bunch of URLs (like the ones you would type in your web browser) that can be used by programs and applications to get authorised access to data.</p><p>Think of an API being like a restaurant. You have a menu with a list of meals along with a description for each dish. You also have a waiter who will take your order and go to the kitchen to fetch your meal.</p><p>An API works in the same way: you pick an instruction that you want to call, a server fetches the data you require and delivers it to you.</p><p><strong>API benefits</strong></p><p>The benefits of an API to a client is that they will be given easy access to data they might require for their business. With a simple API call, clients can utilise data that without an API would be much harder to get hold of.</p><p>A big benefit to companies that offer APIs is that they control who sees what data and they don’t have to open up any of the ‘behind the scenes’ action to clients.</p><p><strong>CoinCorner API</strong></p><p>At <a href="https://www.coincorner.com/">CoinCorner </a>we created our own <a href="https://api.coincorner.com/">API </a>in 2014 for customers to make calls such as finding the current Bitcoin price, checking their CoinCorner wallet balances and even making trades with their CoinCorner account!</p><p>The CoinCorner API also supports our brand new app (available on <a href="https://play.google.com/store/apps/details?id=com.coincorner.app.crypt">Android</a> and <a href="https://itunes.apple.com/us/app/coincorner-bitcoin-wallet/id917721788?mt=8">iOS</a>) by giving it access to the data it needs, which is then displayed to each individual CoinCorner customer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75b98f6f23c7" width="1" height="1" alt=""><hr><p><a href="https://blog.coincorner.com/what-is-an-api-75b98f6f23c7">What is an API?</a> was originally published in <a href="https://blog.coincorner.com/">CoinCorner Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From IT Engineer to Software Developer]]></title>
            <link>https://blog.coincorner.com/from-it-engineer-to-software-developer-2ad9068e6a85?source=rss-538103c6991f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ad9068e6a85</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Matthew Ward]]></dc:creator>
            <pubDate>Mon, 04 Mar 2019 12:06:58 GMT</pubDate>
            <atom:updated>2019-03-04T12:06:58.089Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qaXul4fYdjEOuUT-CJRUhA.png" /></figure><p>I started my professional career after finishing school in 2015. I got a job at a local IT Firm as an apprentice, fixing issues that users were having with their computers and software. I also setup and troubleshooted Windows Server environments, completed Microsoft Office 365 migrations for businesses and worked with other bespoke software. I also created a website for this employer; something that would prove to have a large impact in my next career stage.</p><p>I did this until the very start of 2018. Eventually, over the few years in this industry, it started to feel like a drag. Even though each day was different, it still felt like I was just doing the same old thing. I wasn’t happy with the work I was doing and it felt more like a job than a career. I needed a change. I wanted to stay in the tech industry, however, since it’s so fast paced, ever changing and super interesting, and something I’ve been passionate about since I was young.</p><p>Back in school I had started to learn programming with Visual Basic, then eventually C#. I dabbled with iOS development and making some small, basic websites, but never anything serious. When I made the website that I mentioned above, it was the first time I had completed a project in programming. I instantly knew that this was what I wanted to do.</p><p>I saw that <a href="https://www.coincorner.com/">CoinCorner</a> (a great company I had previously done an internship with) had a job advertised for a Software Developer. I knew I had to bite the bullet and apply for this.</p><p>I sat down with <a href="https://twitter.com/CoinCornerDanny">Danny</a> and <a href="https://medium.com/@CoinCornerPhil">Phil</a> (two of the co-founders) and had a chat about what they were looking for and the type of work they would need me to do, then a few days later they emailed to say I had the job.</p><p>I started this job a year ago from writing this and I’ve never looked back. Software Development is a whole different kettle of fish, although it still shares some traits to an IT Engineer. Writing software requires a lot more thought and forward-planning, rather than just try anything and hoping it works. Otherwise you’ll end up missing a whole load of bugs and security issues. I found that both jobs require patience and a good attitude towards problem-solving, however, there is something about Software Development that makes it that little bit more exciting and intriguing.</p><p>Over the past year I have had an amazing time with a great team. I’ve learned some useful technologies, such as Xamarin (<a href="https://medium.com/coincorner/xamarin-forms-from-no-experience-to-release-ec347a250c40">read my recent article about this</a>), ASP.NET, which is a great web framework, and many different development patterns, such as MVC and MVVM. I’ve developed websites and apps, and also been the go-to guy to fix any computer problems we have in the company, so my old skills are still being put to use.</p><p>Overall, moving my career path to focus on Software Development has been the best decision I’ve ever made. It can be tough, especially at first as you can be thrown in at the deep-end by having a lot to learn in a short amount of time, but as long as you’re dedicated and have a great mentor like <a href="https://twitter.com/CoinCornerZakk">Zakk</a>, you can go very far.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ad9068e6a85" width="1" height="1" alt=""><hr><p><a href="https://blog.coincorner.com/from-it-engineer-to-software-developer-2ad9068e6a85">From IT Engineer to Software Developer</a> was originally published in <a href="https://blog.coincorner.com/">CoinCorner Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Xamarin.Forms — From No Experience to Release]]></title>
            <link>https://blog.coincorner.com/xamarin-forms-from-no-experience-to-release-ec347a250c40?source=rss-538103c6991f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec347a250c40</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[xamarin]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[team]]></category>
            <dc:creator><![CDATA[Matthew Ward]]></dc:creator>
            <pubDate>Fri, 15 Feb 2019 10:07:13 GMT</pubDate>
            <atom:updated>2019-02-15T10:07:13.813Z</atom:updated>
            <content:encoded><![CDATA[<h3>Xamarin.Forms — From No Experience to Release</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSLkAGC4Woh8GDTl5mIs6g.png" /><figcaption>The CoinCorner app, built with Xamarin.Forms</figcaption></figure><p>Hi. My name’s <a href="https://twitter.com/CoinCornerMatt">Matt</a>, and I’m a software developer for <a href="https://www.coincorner.com/">CoinCorner</a>. I’ve been in the crypto industry for around a year now, although I’ve been into tech since I was young!</p><p>I first started developing apps with Xamarin.Forms in June 2018. Since then I have written two apps that are currently on both the Apple and Google app stores.</p><p>I have previous experience with C# and the ideology of the MVC (Model View Controller) architecture.</p><p>Before writing a single line of code with Xamarin.Forms, I decided the best thing I should do is get a feel for how the framework is intended to be used. So, I signed up for a 3 month free trial of <a href="https://university.xamarin.com/">Xamarin University</a> (now offered partially for free). I completed several of the beginner courses which introduced cross platform mobile development and a few of the basic Xamarin.Forms controls. After writing several “playground” apps to use these newly found features, I started making my new app, <a href="http://www.cointracka.com/">CoinTracka</a>.</p><p>CoinTracka (a cryptocurrency price checker) was a great first app in terms of size. Allowing me to self-teach how to get data from an API onto the screen, and make use of the basic controls I had learned about in the Xamarin University courses.</p><p>During the development of the app, I would recommend using an emulator to develop features and make design/content changes. Then periodically test on a real device (different models if possible), to make sure there aren’t any issues (I ran into a few when originally deploying to devices). Although emulators are great for quickly developing features and getting code to work, they aren’t an accurate representation of the real thing.</p><p>After fine tuning my app, I learned how to distribute it via the different App Stores. It was decided that we wouldn’t release the app on Windows Phone due to a declining rate of users (not that there were many Windows Phone users anyway), and instead focused solely on Android and iOS. The Android Play Store was easier than iOS. Simply build the app, package and archive into an APK file and upload to a webpage, whilst specifying the Play Store information.</p><p>iOS, however, was slightly more confusing (thanks Apple), but after doing it once, you kind of get a feel for what needs to be done and how it should be done.</p><p>After this release, I began working on the main <a href="http://www.coincorner.com/">CoinCorner </a>app. We were in need of an update to the app, as the old one had been developed with an ageing technology — <a href="https://cordova.apache.org/">Apache Cordova</a>.</p><p>As this wasn’t my first app rodeo, I already had a lot of knowledge and reusable code from CoinTracka. I quickly developed the first prototype version and after finalising details and designs for the app, began transforming the app into what it is today (finally including in-app Card Deposits!). We recently released this new, refreshed and modern-feeling app alongside our new <a href="http://www.coincorner.com/">website</a>.</p><p>Matt</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec347a250c40" width="1" height="1" alt=""><hr><p><a href="https://blog.coincorner.com/xamarin-forms-from-no-experience-to-release-ec347a250c40">Xamarin.Forms — From No Experience to Release</a> was originally published in <a href="https://blog.coincorner.com/">CoinCorner Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>