{"action":"created","issue":{"url":"https://api.github.com/repos/OmniLayer/omnicore/issues/399","repository_url":"https://api.github.com/repos/OmniLayer/omnicore","labels_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/399/comments","events_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/399/events","html_url":"https://github.com/OmniLayer/omnicore/pull/399","id":164699858,"number":399,"title":"Allow BTC In Crowdsales","user":{"login":"zathras-crypto","id":5633351,"avatar_url":"https://avatars.githubusercontent.com/u/5633351?v=3","gravatar_id":"","url":"https://api.github.com/users/zathras-crypto","html_url":"https://github.com/zathras-crypto","followers_url":"https://api.github.com/users/zathras-crypto/followers","following_url":"https://api.github.com/users/zathras-crypto/following{/other_user}","gists_url":"https://api.github.com/users/zathras-crypto/gists{/gist_id}","starred_url":"https://api.github.com/users/zathras-crypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zathras-crypto/subscriptions","organizations_url":"https://api.github.com/users/zathras-crypto/orgs","repos_url":"https://api.github.com/users/zathras-crypto/repos","events_url":"https://api.github.com/users/zathras-crypto/events{/privacy}","received_events_url":"https://api.github.com/users/zathras-crypto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OmniLayer/omnicore/labels/consensus","name":"consensus","color":"e11d21"},{"url":"https://api.github.com/repos/OmniLayer/omnicore/labels/status:%20in%20progress","name":"status: in progress","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-10T05:15:20Z","updated_at":"2016-07-10T10:52:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OmniLayer/omnicore/pulls/399","html_url":"https://github.com/OmniLayer/omnicore/pull/399","diff_url":"https://github.com/OmniLayer/omnicore/pull/399.diff","patch_url":"https://github.com/OmniLayer/omnicore/pull/399.patch"},"body":"This PR enables the use of Bitcoin as a funding source in crowdsales.\r\n\r\nThis is currently a WIP/placeholder, but should be functional.\r\n\r\nCurrent test results:\r\n```\r\nPreparing a test environment...\r\n   * Starting a fresh regtest daemon\r\n   * Preparing some mature testnet BTC\r\n   * Obtaining a master address to work with\r\n   * Funding the address with some testnet BTC for fees\r\n   * Participating in the Exodus crowdsale to obtain some OMNI\r\n   * Generating addresses to use\r\n\r\nTesting a crowdsale using BTC before activation...\r\n   * Creating an indivisible test property and opening a crowdsale\r\n     # Checking the transaction was invalid... PASS\r\n\r\nActivating v2 crowdsales (allow BTC)... \r\n   * Sending the activation\r\n     # Checking the activation transaction was valid... PASS\r\n   * Mining 10 blocks to forward past the activation block\r\n     # Checking the activation went live as expected... PASS\r\n\r\nTesting crowdsales using BTC after activation...\r\n\r\nTesting an indivisible BTC crowdsale...\r\n   * Creating an indivisible test property and opening a crowdsale\r\n     # Checking the transaction was valid... PASS\r\n\r\nTesting sending a BTC payment to the crowdsale...\r\n   * Sending some BTC to mkxYY4KGgyBKgsXqgjEj75bsh4yxd2Kx1n\r\n   * Sending some BTC from mkxYY4KGgyBKgsXqgjEj75bsh4yxd2Kx1n to the crowdsale\r\n     # Checking the transaction was valid... PASS\r\n     # Checking the payment was linked to the correct transaction... PASS\r\n     # Checking the payment was linked to the correct recipient... PASS\r\n     # Checking the payment amount was 0.1 BTC... PASS\r\n     # Checking the sending address now has 100 of property 3... PASS\r\n     # Checking the transaction is listed in crowdsale participants... PASS\r\n     # Checking the crowdsale amount raised is now 0.1 BTC... PASS\r\n     # Checking the amount of tokens issued to users is now 100... PASS\r\n     # Checking the amount of tokens issued to uthe isuser is still 0... PASS\r\n\r\nTesting a divisible BTC crowdsale...\r\n   * Sending some BTC to mz41y8JmRuU3JujMx5cua2rHATsy3nfsj9\r\n   * Sending some BTC to msbm3v3HUtJzpL9u5iZ2uGUVv5CPySAzqF\r\n   * Creating a divisible test property and opening a crowdsale\r\n     # Checking the transaction was valid... PASS\r\n   * Sending some BTC from msbm3v3HUtJzpL9u5iZ2uGUVv5CPySAzqF to the crowdsale\r\n     # Checking the transaction was valid... PASS\r\n     # Checking the payment was linked to the correct transaction... PASS\r\n     # Checking the payment was linked to the correct recipient... PASS\r\n     # Checking the payment amount was 0.1 BTC... PASS\r\n     # Checking the sending address now has 100.0 of property 4... PASS\r\n     # Checking the transaction is listed in crowdsale participants... PASS\r\n     # Checking the crowdsale amount raised is now 0.1 BTC... PASS\r\n     # Checking the amount of tokens issued to users is now 100.0... PASS\r\n     # Checking the amount of tokens issued to uthe isuser is still 0... PASS\r\n\r\n####################\r\n#  Summary:        #\r\n#    Passed = 23   #\r\n#    Failed = 0    #\r\n####################\r\n```"},"comment":{"url":"https://api.github.com/repos/OmniLayer/omnicore/issues/comments/231582702","html_url":"https://github.com/OmniLayer/omnicore/pull/399#issuecomment-231582702","issue_url":"https://api.github.com/repos/OmniLayer/omnicore/issues/399","id":231582702,"user":{"login":"zathras-crypto","id":5633351,"avatar_url":"https://avatars.githubusercontent.com/u/5633351?v=3","gravatar_id":"","url":"https://api.github.com/users/zathras-crypto","html_url":"https://github.com/zathras-crypto","followers_url":"https://api.github.com/users/zathras-crypto/followers","following_url":"https://api.github.com/users/zathras-crypto/following{/other_user}","gists_url":"https://api.github.com/users/zathras-crypto/gists{/gist_id}","starred_url":"https://api.github.com/users/zathras-crypto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zathras-crypto/subscriptions","organizations_url":"https://api.github.com/users/zathras-crypto/orgs","repos_url":"https://api.github.com/users/zathras-crypto/repos","events_url":"https://api.github.com/users/zathras-crypto/events{/privacy}","received_events_url":"https://api.github.com/users/zathras-crypto/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T10:52:25Z","updated_at":"2016-07-10T10:52:25Z","body":"Sorry my bad, that came from my branch name - nope not intended for 0.0.11.  I've fixed the title now :)"}}
{"actor":{"display_login":"zathras-crypto"}}