Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1243 commits
Select commit Hold shift + click to select a range
af84a7f
Remove spam logs
Aug 3, 2018
8f61c10
Remove spam logs
Aug 3, 2018
8293f6f
Fix large asset transactions failing asset check and asset serialization
Aug 7, 2018
9fd33da
Switching to DGW at a specific block.
cfox Aug 7, 2018
b760682
Under fix to CHANNEL namespace
Aug 7, 2018
b35bd9b
h
Aug 7, 2018
9fd7e54
Merge pull request #197 from RavenProject/under-channel-namespace-fix
blondfrogs Aug 8, 2018
31eb2b5
Merge pull request #195 from RavenProject/cfox-rip9v2
blondfrogs Aug 8, 2018
d8027a2
Update regex to disallow improper asset names
Aug 8, 2018
ee999c5
Add back $ to regex expression
Aug 8, 2018
82c11a6
Add -fPIC as default on Linux builds to avoid build errors. Add addi…
Aug 3, 2018
b8aad20
Merge pull request #199 from RavenProject/revert-fpic
blondfrogs Aug 8, 2018
38b322d
Set reissuable to true by default, update typos
Aug 8, 2018
9883ee2
Quick bug fix for creating new asset with ! in it. Fix typo
Aug 8, 2018
45b0346
Remove commented out code
Aug 8, 2018
ed0ea50
Merge pull request #196 from RavenProject/sub_asset_2
blondfrogs Aug 8, 2018
b3a6fa2
Fixed/ Edited a few things
UsertJonPizza Aug 6, 2018
19a96f6
Fixed typo
UsertJonPizza Aug 6, 2018
7b62d97
Merge pull request #201 from RavenProject/typo_fixes
blondfrogs Aug 8, 2018
f95a36c
Testnetv4 and some block timing for DGW (#200)
cfox Aug 8, 2018
c344555
Add sub assets to func test (#202)
blondfrogs Aug 8, 2018
59a393f
One command
Aug 9, 2018
c94460a
Fixes a test case.
cfox Aug 9, 2018
7b69824
Merge pull request #204 from RavenProject/tron-issuesubasset-to-issue
TronBlack Aug 9, 2018
799a9b2
Removes some noise on stdout.
cfox Aug 9, 2018
25be212
Updated version to 2.0.3
cfox Aug 9, 2018
fc5d1a7
Merge pull request #206 from RavenProject/release_2.0.3
cfox Aug 9, 2018
8930753
Add asset issuance scripts
Aug 12, 2018
c3c372e
Include some documentation on scripts
Aug 12, 2018
fc169bc
fix md
Aug 13, 2018
9bd3cc8
Merge pull request #205 from RavenProject/cfox-cleanup
blondfrogs Aug 13, 2018
6f59415
fix_db_asset_spends
Aug 13, 2018
9192c6c
Merge pull request #214 from RavenProject/bug_210
blondfrogs Aug 13, 2018
39d8745
Merge pull request #215 from RavenProject/develop2
blondfrogs Aug 13, 2018
01d8c15
Merge pull request #216 from RavenProject/release_2.0.3
cfrogjump Aug 13, 2018
eb91f9f
Functional asset transfer tests (#221)
cfox Aug 14, 2018
018b922
Fix chain syncing errors
Aug 14, 2018
584b451
Fix qt formatting amount
Aug 14, 2018
fa50d36
Functional asset transfer tests (#221)
cfox Aug 14, 2018
31ba698
Merge pull request #223 from RavenProject/bug_fixes_release_2_0_3
blondfrogs Aug 15, 2018
f690fb5
Fix null pointer check before accessing pointer object
Aug 15, 2018
7bf0721
Merge pull request #225 from RavenProject/bug_null_pointer_fix
blondfrogs Aug 15, 2018
c1da31c
Add pointer protection before accessing pointer
Aug 16, 2018
dacb7ac
Merge pull request #227 from RavenProject/unprotected_pointer
blondfrogs Aug 16, 2018
3dc585a
Tron version and depth (#226)
TronBlack Aug 16, 2018
01a355b
functional test fixes (#228)
cfox Aug 16, 2018
4f089b5
Modify to work default with testnet
Aug 16, 2018
7cde3ea
Merge pull request #213 from RavenProject/tron-asset-scripts
TronBlack Aug 16, 2018
5aec12d
Add asset issuance scripts
Aug 12, 2018
7d3be96
Include some documentation on scripts
Aug 12, 2018
b00b7b2
fix md
Aug 13, 2018
12445db
Fix chain syncing errors
Aug 14, 2018
0eefa3b
Fix qt formatting amount
Aug 14, 2018
029005c
Fix null pointer check before accessing pointer object
Aug 15, 2018
3403b15
Add pointer protection before accessing pointer
Aug 16, 2018
717a35b
Tron version and depth (#226)
TronBlack Aug 16, 2018
83c7ebe
functional test fixes (#228)
cfox Aug 16, 2018
508fb9b
Modify to work default with testnet
Aug 16, 2018
0789fc8
Fix database, fix unit tests
Aug 17, 2018
b265da9
Merge pull request #230 from RavenProject/database_bug_fix_2_0_4
cfrogjump Aug 17, 2018
cf65cec
Merge pull request #231 from RavenProject/release_2.0.4
blondfrogs Aug 17, 2018
e1a96a0
Merge pull request #232 from RavenProject/release_2.0.4
spyder46n2 Aug 17, 2018
d3f3ec3
Fix for dylib mac build
TronBlack Aug 18, 2018
b175d73
Merge pull request #235 from RavenProject/tron-fix-dylib-dmg
TronBlack Aug 20, 2018
5a9d2ee
Update README.md
underdarkskies Aug 20, 2018
9843103
Allow Asset Tx Chaining (#237)
blondfrogs Aug 20, 2018
48eedac
Update script.sh
underdarkskies Aug 20, 2018
2b9ce50
Update README.md
underdarkskies Aug 20, 2018
d836d85
Fix mempool_limit test
Aug 21, 2018
01efaa5
invoke python interpreter
underdarkskies Aug 21, 2018
ba31e3c
Merge pull request #241 from underdarkskies/Python
TronBlack Aug 21, 2018
d050c44
Update Asset RPC man (#239)
underdarkskies Aug 21, 2018
23ee8fb
Merge pull request #240 from RavenProject/mney-fix-functional-test
spyder46n2 Aug 21, 2018
f2cde1b
Adding release notes for the 2.0.4 release
Aug 21, 2018
1cbee6c
Updating verbage as per cfox's suggestion
spyder46n2 Aug 21, 2018
92390ac
Merge pull request #242 from RavenProject/mney-add-2.0.4-release-notes
spyder46n2 Aug 21, 2018
f2a0d74
Remove the ability to chain reissue transactions (#245)
blondfrogs Aug 22, 2018
393aa8a
Add ability to create assets of other types with the GUI (#243)
blondfrogs Aug 22, 2018
22676a8
Update README.md
UsertJonPizza Aug 23, 2018
16ed3ca
Check Units when issuing assets (#249)
blondfrogs Aug 23, 2018
6aef69f
Fixing Linux build errror - missing string include in header
Aug 23, 2018
826c631
Merge pull request #250 from RavenProject/mney-fix.Linux.build.failure
spyder46n2 Aug 23, 2018
b44ff45
unique assets (#244)
cfox Aug 27, 2018
9152c6f
Implement Asset Control
Aug 23, 2018
f31b0e9
Merge pull request #253 from RavenProject/asset_coincontrol
blondfrogs Aug 29, 2018
6f3453c
Fix Unique QT issuance scree, remove unused enum
Aug 29, 2018
29de1d0
Merge pull request #255 from RavenProject/unique_qt
blondfrogs Aug 30, 2018
0b1f469
Fix compiler warnings, remove enum conversions
Aug 30, 2018
4998653
fixing Linux compile-linker error
Aug 30, 2018
d21b4cf
Merge pull request #261 from RavenProject/mney-fix-linux-build
spyder46n2 Aug 30, 2018
18b8d54
Merge pull request #258 from RavenProject/nit_fixes
blondfrogs Aug 30, 2018
fa140c4
IRC registration request
Sep 4, 2018
7edce16
Merge pull request #266 from RavenProject/irc
blondfrogs Sep 4, 2018
0da11b2
Moved testnet to v5. (#265)
cfox Sep 4, 2018
7f45180
Removes misguided reserved script code. (#267)
cfox Sep 4, 2018
e64c1c6
Hide asset change addresses (#268)
blondfrogs Sep 5, 2018
8d404c9
typo in readme
carlzimmerman Sep 6, 2018
9dece96
Issue tampering tests and a bug fix (#271)
cfox Sep 6, 2018
b379685
Changes rule activation threshold on mainnet to 90%. (#270)
cfox Sep 6, 2018
7a7de5c
Introduces ADR. (#269)
cfox Sep 6, 2018
6bcda7c
Merge pull request #272 from carlzimmerman/patch-2
TronBlack Sep 6, 2018
9243157
More functional tests for handling funky raw transactions (#274)
cfox Sep 7, 2018
aa12b9d
Updated to version 2.0.5
Sep 8, 2018
9254f25
Asset script updates (#273)
blondfrogs Sep 8, 2018
4378c56
Fix decimal for RVN in GUI
TronBlack Sep 9, 2018
15c9510
Merge pull request #276 from RavenProject/tron-fix-decimal
blondfrogs Sep 10, 2018
24cd13d
Fix compile warnings
Sep 10, 2018
fe1a707
Add asset transaction notification bubbles (#277)
blondfrogs Sep 10, 2018
67b357f
Merge pull request #275 from russkidooski/patch-2
blondfrogs Sep 10, 2018
b43c1a4
Merge pull request #278 from RavenProject/linux_warnings
blondfrogs Sep 11, 2018
f479a58
Add asset popup, with correct decimal
Sep 11, 2018
fcde8a7
Merge pull request #280 from RavenProject/fix_asset_decimal
blondfrogs Sep 11, 2018
9937f5c
Fix send assets max value
Sep 11, 2018
c13b347
Merge pull request #284 from RavenProject/send_assets_max
blondfrogs Sep 11, 2018
94b4937
Tron fix asset len - add utility script (#285)
TronBlack Sep 11, 2018
c03f7c9
Default RBF to off
TronBlack Sep 11, 2018
a34579b
Functional test overhaul
Sep 12, 2018
52e9ccc
Merge pull request #286 from RavenProject/tron_default_rbf_to_off
TronBlack Sep 12, 2018
daaeda4
Merge pull request #288 from RavenProject/mney-functional-test-overhaul
spyder46n2 Sep 12, 2018
92cd6bd
Add coin control to create asset
Sep 12, 2018
e4df754
Allow reissue with amount of 0
Sep 12, 2018
477458c
fixing tests to reflect the recent RBF change
Sep 12, 2018
86a0b7a
Remove some undesirable chars and limit channel names to 12
TronBlack Sep 12, 2018
ec79b4a
Merge pull request #290 from RavenProject/mney-fix-RBF-tests
spyder46n2 Sep 12, 2018
5d4d6a0
Merge pull request #291 from RavenProject/tron-asset-names
spyder46n2 Sep 12, 2018
8510deb
Merge pull request #289 from RavenProject/update_reissue_allow_zero
blondfrogs Sep 12, 2018
35d8870
Merge pull request #287 from RavenProject/create_asset_dialog_rework
blondfrogs Sep 13, 2018
4af75d1
Fixes a recently broken unique asset functional test. (#294)
cfox Sep 14, 2018
081946a
Add reissue coincontrol, Fix 0 amount reissue
Sep 14, 2018
1e0b0ee
Merge pull request #293 from RavenProject/reissue_coin_control
blondfrogs Sep 14, 2018
eed0d6b
Fix linux build warnings and errors
blondfrogs Sep 14, 2018
92d6a2b
Merge pull request #296 from RavenProject/fix_linux_errors
blondfrogs Sep 17, 2018
68ea455
Add Max Reorganization Depth
Sep 14, 2018
4db7eb3
Add ravencoin.com to seed nodes
TronBlack Sep 18, 2018
388d4fd
Fix Mac Build
Sep 18, 2018
33b9c8f
Merge pull request #299 from RavenProject/fix_mac_build
spyder46n2 Sep 18, 2018
d5ffead
Merge pull request #295 from RavenProject/max_reorg
blondfrogs Sep 18, 2018
47226f1
Add units to reissuable data
Sep 17, 2018
2420098
Merge pull request #297 from RavenProject/reissue_units
blondfrogs Sep 18, 2018
11c1ce7
Update rpc examples to have valid asset names
Sep 18, 2018
5a9ec7d
Add Unique isValid consesus checks (#300)
blondfrogs Sep 18, 2018
6d34283
Merge pull request #301 from RavenProject/asset_example_names
blondfrogs Sep 18, 2018
27647d8
A couple of minor bugfixes and some regression tests (#304)
cfox Sep 18, 2018
302d1f7
Add better Qt error messages
Sep 18, 2018
85f351c
Merge pull request #303 from RavenProject/qt_asset_messages
blondfrogs Sep 18, 2018
b6e1e9c
moving some extended tests to be standard
Sep 18, 2018
a2861c7
Merge pull request #305 from RavenProject/mney-move-extended-tests
spyder46n2 Sep 18, 2018
f529682
Fixes some regression tests that didn't work with new default -maxreo…
cfox Sep 18, 2018
9d0c50b
fixes CVE-2018-17144 (#308)
cfox Sep 19, 2018
f0a37c3
fixing two additional tests that needed updates for the new max-reorg…
Sep 19, 2018
364c820
Merge pull request #310 from RavenProject/mney-fix-functional-test--m…
spyder46n2 Sep 20, 2018
73acdb7
Merge pull request #248 from UsertJonPizza/patch-3
blondfrogs Sep 20, 2018
585489a
Merge pull request #298 from RavenProject/tron-increase-seed-nodes
TronBlack Sep 20, 2018
25d8378
Merge pull request #175 from underdarkskies/build-docs
blondfrogs Sep 20, 2018
1669b97
changes to script serialization of IPFS hash for issue/reissue (#302)
cfox Sep 20, 2018
968a305
Updates testnet to testnet6 on network port 18770. (#311)
cfox Sep 20, 2018
ac0279d
Default to 60 block re-org. Note: Will not re-org AT 60 or above - s…
TronBlack Sep 20, 2018
c8b1b3b
Merge pull request #314 from RavenProject/tron-55-to-60-reorg
TronBlack Sep 20, 2018
8bd5726
[BACKPORT] #12924: Fix hdmaster-key / seed-key confusion (scripted diff)
underdarkskies Jul 30, 2018
7bf60e8
Fix validateaddress rpc call
Sep 20, 2018
550cc7f
Switch to >= 4 instead of > 3 to make min=req amount. Fix msg for thr…
TronBlack Sep 20, 2018
7ae81d5
Add IPFS example to issue
TronBlack Sep 20, 2018
d66dba7
Merge pull request #317 from RavenProject/tron-add-ipfs-example
blondfrogs Sep 20, 2018
14ea87c
Merge pull request #316 from RavenProject/tron-adjust-min-peers
blondfrogs Sep 20, 2018
93e2902
Merge pull request #315 from RavenProject/backport_12924
blondfrogs Sep 20, 2018
a8c1981
Do not re-org at nMaxReorgDepth
TronBlack Sep 20, 2018
28325ca
Addiitional check - same conditions
TronBlack Sep 20, 2018
0887b58
Merge pull request #319 from RavenProject/tron-fix-count
wolfsokta Sep 20, 2018
2c5d0eb
Adding warning about Mojave build
Sep 21, 2018
de3699b
fixes CVE-2018-17144 (#308)
cfox Sep 19, 2018
c828150
Update minor version
Sep 21, 2018
3bb84b1
Merge pull request #321 from RavenProject/cve_2018-17144
blondfrogs Sep 21, 2018
f914505
Merge pull request #320 from RavenProject/mney-add-Mojave-warning-to-…
wolfsokta Sep 21, 2018
334d5f1
Update vote date
Sep 21, 2018
f55b00a
Merge pull request #322 from RavenProject/vote_date
blondfrogs Sep 21, 2018
560393d
Add status of blocks before vote
TronBlack Sep 21, 2018
566a72e
Merge pull request #323 from RavenProject/tron-fix-waiting
TronBlack Sep 22, 2018
2671a1d
Fix asset CheckTransaction call when called from VerifyDB
Sep 24, 2018
f7fbedc
Update version to 2.0.7
Sep 24, 2018
5ffbd43
Merge pull request #324 from RavenProject/asset_verifydb_checktransac…
blondfrogs Sep 24, 2018
1a408e6
Audit assets
TronBlack Sep 24, 2018
e6fc595
Fix for zmq - start RVN asset parsing
TronBlack Sep 24, 2018
3558206
Add tx scanner watching for ipfs hashes
TronBlack Sep 23, 2018
9e64cb7
Update readme
TronBlack Sep 24, 2018
4ac372d
Update asset balance GUI
Sep 24, 2018
275bec6
Merge pull request #327 from RavenProject/tron-ipfs-store2
TronBlack Sep 25, 2018
d4ccefa
Merge pull request #326 from RavenProject/tron-zmq-rvn
TronBlack Sep 25, 2018
ede1cda
Merge pull request #325 from RavenProject/tron-asset-audit
TronBlack Sep 25, 2018
72234b8
Merge pull request #328 from RavenProject/asset_balance_gui
blondfrogs Sep 25, 2018
807ded2
Remove 0 amount transaction from wallet transaction list
Sep 25, 2018
460a31b
Try to fix, admin assets not showing up
Sep 25, 2018
65f73dd
Merge pull request #332 from RavenProject/fix_admin_assets
spyder46n2 Sep 25, 2018
46f682c
Merge pull request #330 from RavenProject/zero_wallet_transactions
blondfrogs Sep 25, 2018
608f0fb
making issueunique cli-help message more clear
Sep 25, 2018
3e2976e
Fixes incorrect wallet check on reissue. (#334)
cfox Sep 25, 2018
a71c8a0
Merge pull request #333 from RavenProject/mney-fix-issueunique-help-msg
spyder46n2 Sep 25, 2018
0f4be54
Fix qt display assset data
Sep 25, 2018
796a295
Merge pull request #335 from RavenProject/qt_display_bug
blondfrogs Sep 25, 2018
3afb946
Update wallet balance and transfer GUI
Sep 26, 2018
1117378
Fixing asset and wallet tests
Sep 26, 2018
ff56725
Merge pull request #338 from RavenProject/mney-fix-wallet-and=asset-t…
spyder46n2 Sep 26, 2018
03afaed
Merge pull request #337 from RavenProject/wallet_balance_gui
blondfrogs Sep 26, 2018
322092c
Add automatic refresh to asset transfer dropdown
Sep 27, 2018
b597e81
max reorg depth additions: (#340)
cfox Sep 27, 2018
ccd6ae6
Merge pull request #339 from RavenProject/remove_manual_refresh
blondfrogs Sep 27, 2018
4bf9c39
Add custom fee as a setting that can be turned off/on
Sep 27, 2018
0ec5d3e
Update README.md
Sep 28, 2018
c8a772c
Merge pull request #343 from russkidooski/patch-3
blondfrogs Sep 28, 2018
ec28f98
Merge pull request #342 from RavenProject/custom_fee_setting
blondfrogs Sep 28, 2018
fe62cf0
Extend asset balance table
Sep 28, 2018
e6c9bbe
Merge pull request #344 from RavenProject/asset_list
blondfrogs Sep 28, 2018
e2711b1
Functional tests doing atomic swaps on assets. (#346)
cfox Sep 28, 2018
bec4783
Check ipfs validity
Sep 28, 2018
f63a54a
Merge pull request #345 from RavenProject/ipfs_validitity
blondfrogs Sep 28, 2018
c7ee3f1
fixing link in Windows readme to the Ravencoin wiki page
Sep 28, 2018
a35b5e9
Merge pull request #347 from RavenProject/mney-fix-link-to-rvn-wiki
spyder46n2 Sep 28, 2018
7c04405
Hide RBF
Oct 1, 2018
7ba896b
Add mempool check with unique assets
Oct 1, 2018
8cd6c85
Merge pull request #350 from RavenProject/unqiue_mempool
blondfrogs Oct 1, 2018
a3f83a9
Fail checks on unique asset that are already in the mempool
Oct 1, 2018
1e1aac3
Merge pull request #352 from RavenProject/unique_mempool2
blondfrogs Oct 1, 2018
1d236db
Merge pull request #349 from RavenProject/hide_rbf
blondfrogs Oct 2, 2018
2665e64
Increment version - testing
TronBlack Oct 2, 2018
407bb06
Resize asset dialog when opened to fix contents
Oct 2, 2018
c246131
Merge pull request #353 from RavenProject/adjust_size
blondfrogs Oct 2, 2018
56c68ee
Modify version bit for mainnet for asset activation. Update version …
TronBlack Oct 3, 2018
dfddba5
Merge pull request #354 from RavenProject/tron-rc0
blondfrogs Oct 3, 2018
21e7747
Merge branch 'master' into develop2
TronBlack Oct 3, 2018
a7c558d
Fix linux build issue
Oct 3, 2018
0143789
Merge pull request #356 from RavenProject/linux_build_fix
blondfrogs Oct 3, 2018
65a5b3b
adding release notes for 2.1.0, rmoving RBF tests
Oct 3, 2018
65df38c
Merge pull request #357 from RavenProject/mney-add-release-notes-and-…
spyder46n2 Oct 3, 2018
aec8743
Adds a HOWTO for creating an atomic swap. (#358)
cfox Oct 4, 2018
8b65ce9
Fix for asset issuance
Oct 4, 2018
71b20cd
Add asset issuance map to the mempool
Oct 4, 2018
177e9a1
More testing around assets + reorgs.
cfox Oct 4, 2018
74cebd5
Get asset undo blocks setting the correct values with reorged/invalid…
Oct 4, 2018
a170a04
Merge pull request #359 from RavenProject/reorg_issuance_fix
blondfrogs Oct 4, 2018
956b324
Merge pull request #360 from RavenProject/assets_in_mempool
blondfrogs Oct 4, 2018
4b43290
Fix Issue and Reissue invalidation in the same reorg
Oct 5, 2018
b390188
Merge pull request #364 from RavenProject/issue_reissue_data_corruption
blondfrogs Oct 5, 2018
e987f09
Adds a functional test for precision change on reissue. (#363)
cfox Oct 5, 2018
fa278da
fixing asset activation date and remove extra 0 from version
Oct 5, 2018
0b095af
Merge pull request #365 from RavenProject/mney-fix-release-notes
spyder46n2 Oct 5, 2018
9d36131
fixing crash when running 'ravend -h'
Oct 5, 2018
8b862ac
Merge pull request #366 from RavenProject/mney-fix-ravend-help-crash
blondfrogs Oct 5, 2018
0cfbd84
Fix double ownership creation malicious user bug
Oct 5, 2018
ce10f59
Merge pull request #367 from RavenProject/double_owner_asset
blondfrogs Oct 5, 2018
0e86fe6
Update issue template
Oct 5, 2018
efa3d65
Merge release 2.1.0 into develop
Oct 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This issue tracker is only for technical issues related to bitcoin-core.

General bitcoin questions and/or support requests and are best directed to the [Bitcoin StackExchange](https://bitcoin.stackexchange.com).
General ravencoin questions and/or support requests and are best directed to the [Ravencoin Discord](https://discord.gg/GwtXdyc).

For reporting security issues, please read instructions at [https://bitcoincore.org/en/contact/](https://bitcoincore.org/en/contact/).
For reporting security issues, please direct message one of the core developers in discord.

### Describe the issue

Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ env:
- CCACHE_COMPRESS=1
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
- SDK_URL=https://ravencoin.org/depends-sources/sdks
- PYTHON_DEBUG=1
- WINEDEBUG=fixme-all
matrix:
# ARM
Expand Down Expand Up @@ -75,7 +74,7 @@ script:
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
- if [ "$RUN_TESTS" = "true" ]; then travis_wait 30 make $MAKEJOBS check VERBOSE=1; fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then extended="--extended --exclude pruning,dbcrash"; fi
- if [ "$RUN_TESTS" = "true" ]; then test/functional/test_runner.py --coverage --quiet ${extended}; fi
- if [ "$RUN_TESTS" = "true" ]; then test/functional/test_runner.py --combinedlogslen=4000 --coverage --quiet ${extended}; fi
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ the pull request affects. Valid areas as:

Examples:

Consensus: Add new opcode for BIP-XXXX OP_CHECKAWESOMESIG
Consensus: Add new opcode for RIP-XXXX OP_CHECKAWESOMESIG
Net: Automatically create hidden service, listen on Tor
Qt: Add feed bump button
Trivial: Fix typo in init.cpp
Expand Down Expand Up @@ -193,7 +193,7 @@ In general, all pull requests must:

Patches that change Raven consensus rules are considerably more involved than
normal because they affect the entire ecosystem and so must be preceded by
extensive mailing list discussions and have a numbered BIP. While each case will
extensive mailing list discussions and have a numbered RIP. While each case will
be different, one should be prepared to expend more time and effort than for
other kinds of patches because of increased peer review and consensus building
requirements.
Expand Down Expand Up @@ -234,7 +234,7 @@ of consensus critical code.

Where a patch set proposes to change the Raven consensus, it must have been
discussed extensively on the mailing list and IRC, be accompanied by a widely
discussed BIP and have a generally widely perceived technical consensus of being
discussed RIP and have a generally widely perceived technical consensus of being
a worthwhile change based on the judgement of the maintainers.

### Finding Reviewers
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ Bitcoin is and always should be focused on its goals of being a better form of m

In the new global economy, borders and jurisdictions will be less relevant as more assets are tradable and trade across borders is increasingly frictionless. In an age where people can move significant amounts of wealth instantly using Bitcoin, global consumers will likely demand the same efficiency for their securities and similar asset holdings.

For such a global system to work it will need to be independent of regulatory jurisdictions. This is not due to ideological belief but practicality: if the rails for blockchain asset transfer are not censorship resistance and jurisdiction agnostic, any given jurisdiction may be in conflict with another. In legacy systems, wealth was generally confined in the jurisdiction of the holder and therefor easy to control based on the policies of that jurisdiction. Because of the global nature of blockchain technology any protocol level ability to control wealth would potentially place jurisdictions in conflict and will not be able to operate fairly.
For such a global system to work it will need to be independent of regulatory jurisdictions. This is not due to ideological belief but practicality: if the rails for blockchain asset transfer are not censorship resistance and jurisdiction agnostic, any given jurisdiction may be in conflict with another. In legacy systems, wealth was generally confined in the jurisdiction of the holder and therefore easy to control based on the policies of that jurisdiction. Because of the global nature of blockchain technology any protocol level ability to control wealth would potentially place jurisdictions in conflict and will not be able to operate fairly.

24 changes: 24 additions & 0 deletions assets/tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Tools for Asset Issuance

### Bulk Issuance
Issue assets from a .csv file.
* Make a copy of https://docs.google.com/spreadsheets/d/1Ym88-ggbw8yiMgVxOtVYDsCXJGNGZqlpOfgdbVK8iYU
* Edit your own data
* Download as .csv and put in this folder.
* ```python issuebulk.py```

### Signed Promises
Check for assets that have signed documents.
* Set the constants at the top of signed_promises.py
* ```python signed_promises.py```

### Block Facts
Loops through blocks and prints out block information.
* Set the constants at the top of blockfacts.py
* ```python blockfacts.py```

### Transaction Facts
Loops through blocks and transactions and prints out tx information.
* Uncomment out print lines to print out more facts
* Set the constants at the top of txfacts.py
* ```python txfacts.py```
101 changes: 101 additions & 0 deletions assets/tools/asset_audit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
#!/usr/bin/env python3
# Script to audit the assets
# Reads the asset (amount has all issuances)
# Reads the balances in every address for the asset.
# Compares the two numbers to checks that qty of all assets are accounted for

import subprocess
import json


#Set this to your raven-cli program
cli = "raven-cli"

mode = "-testnet"
rpc_port = 18766
#mode = "-regtest"
#rpc_port = 18443

#Set this information in your raven.conf file (in datadir, not testnet3)
rpc_user = 'rpcuser'
rpc_pass = 'rpcpass555'

def listassets(filter):
rpc_connection = get_rpc_connection()
result = rpc_connection.listassets(filter, True)
return(result)

def listaddressesbyasset(asset):
rpc_connection = get_rpc_connection()
result = rpc_connection.listaddressesbyasset(asset)
return(result)

def rpc_call(params):
process = subprocess.Popen([cli, mode, params], stdout=subprocess.PIPE)
out, err = process.communicate()
return(out)

def generate_blocks(n):
rpc_connection = get_rpc_connection()
hashes = rpc_connection.generate(n)
return(hashes)

def get_rpc_connection():
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
connection = "http://%s:%[email protected]:%s"%(rpc_user, rpc_pass, rpc_port)
#print("Connection: " + connection)
rpc_connection = AuthServiceProxy(connection)
return(rpc_connection)

def audit(filter):
assets = listassets(filter)
print("Auditing: " + filter)
#print(assets)
print("Asset count: " + str(len(assets)))
count = 0
max_dist_asset_name = ""
max_dist_address_count = 0
for asset, properties in assets.items():
count=count+1
total_issued = 0
total_for_asset = 0

print("Auditing asset (" + str(count) + "): " + asset)
for key, value in properties.items():
if (key == 'amount'):
total_issued += value
print("Total issued for " + asset + " is: " + str(value))
address_qtys = listaddressesbyasset(asset)

address_count = 0
for address, qty in address_qtys.items():
address_count = address_count + 1
print(address + " -> " + str(qty))
total_for_asset += qty

print("Total in addresses for asset " + asset + " is " + str(total_for_asset))

#Calculate stats
if address_count > max_dist_address_count:
max_dist_asset_name = asset
max_dist_address_count = address_count

if (total_issued == total_for_asset):
print("Audit PASSED for " + asset)
print("")
else:
print("Audit FAILED for " + asset)
exit()

if len(assets) == count:
print("All " + str(len(assets)) + " assets audited.")
print("Stats:")
print(" Max Distribed Asset: " + max_dist_asset_name + " with " + str(max_dist_address_count) + " addresses.")



if mode == "-regtest": #If regtest then mine our own blocks
import os
os.system(cli + " " + mode + " generate 400")

audit("*") #Set to "*" for all.
45 changes: 45 additions & 0 deletions assets/tools/blockfacts.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#Shows data from the first 1000 blocks

import random
import os
import subprocess
import json


#Set this to your raven-cli program
cli = "raven-cli"

#mode = "-testnet"
mode = ""
rpc_port = 8766
#Set this information in your raven.conf file (in datadir, not testnet3)
rpc_user = 'rpcuser'
rpc_pass = 'rpcpass555'


def rpc_call(params):
process = subprocess.Popen([cli, mode, params], stdout=subprocess.PIPE)
out, err = process.communicate()
return(out)

def get_blockinfo(num):
rpc_connection = get_rpc_connection()
hash = rpc_connection.getblockhash(num)
blockinfo = rpc_connection.getblock(hash)
return(blockinfo)

def get_rpc_connection():
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
connection = "http://%s:%[email protected]:%s"%(rpc_user, rpc_pass, rpc_port)
#print("Connection: " + connection)
rpc_connection = AuthServiceProxy(connection)
return(rpc_connection)

for i in range(1,1000):
dta = get_blockinfo(i)
print("Block #" + str(i))
print(dta.get('hash'))
print(dta.get('difficulty'))
print(dta.get('time'))
print("")

162 changes: 162 additions & 0 deletions assets/tools/issuebulk.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
#!/usr/bin/env python3
# Script to issue assets on the Ravencoin platform
# Reads from a csv file
# Template Google Spreadsheet at:
# https://docs.google.com/spreadsheets/d/1Ym88-ggbw8yiMgVxOtVYDsCXJGNGZqlpOfgdbVK8iYU
# In Google Sheets: File->Download As->.csv
# Prerequisite: ravend daemon to be running
# In order to use metadata, you must install be running IPFS
# Steps:
# 1. Get IPFS - https://ipfs.io/
# 2. Run the ipfs daemon
# 3. pip install ipfsapi
#
# If you're signing contract_url
# pip install python-bitcoinrpc


import random
import os
import subprocess
import csv
import json
import hashlib


#Set this to your raven-cli program
cli = "raven-cli"

mode = "-testnet"
rpc_port = 18766
#mode = "-regtest"
#rpc_port = 18443
csv_file = "Raven Assets - Sheet1.csv"
#Set this information in your raven.conf file (in datadir, not testnet3)
rpc_user = 'rpcuser'
rpc_pass = 'rpcpass555'


def NormalizeMetaData(dict):
#Remove all empty items
for key in list(dict.keys()):
if dict[key] == '':
del dict[key]

del dict['asset']
del dict['qty']
del dict['units']
del dict['reissuable']

#Convert from text to bool
if dict.get('forsale') == 'TRUE':
dict['forsale'] = True


return(dict)

def issue_asset(asset, qty, units, reissuable = False, address='', ipfs_hash = ''):
cmd = cli + " " + mode + " issue " + asset + " " + str(qty) + " " + "\"" + address + "\"" + " " + "\"\"" + " " + str(units) + " "

if reissuable:
cmd += 'true'
else:
cmd += 'false'

if len(ipfs_hash) > 0:
cmd = cmd + " true " + ipfs_hash

print(cmd)
os.system(cmd)

def get_contract_hash(url):
import urllib2
print ("Downloading: " + url)
response = urllib2.urlopen(url)
rawdata = response.read()
#print("Len: " + len(rawdata))
hexdigest = hashlib.sha256(rawdata).hexdigest()
print(hexdigest)
return(hexdigest)

def rpc_call(params):
process = subprocess.Popen([cli, mode, params], stdout=subprocess.PIPE)
out, err = process.communicate()
return(out)

def get_address():
rpc_connection = get_rpc_connection()
new_address = rpc_connection.getnewaddress()
print("New address: " + new_address)
return(new_address)

def sign_hash(address, hash):
rpc_connection = get_rpc_connection()
signature = rpc_connection.signmessage(address, hash)
return(signature)

def generate_blocks(n):
rpc_connection = get_rpc_connection()
hashes = rpc_connection.generate(n)
return(hashes)

def get_rpc_connection():
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
connection = "http://%s:%[email protected]:%s"%(rpc_user, rpc_pass, rpc_port)
print("Connection: " + connection)
rpc_connection = AuthServiceProxy(connection)
return(rpc_connection)

def add_to_ipfs(file):
print("Adding to IPFS")
import ipfsapi
api = ipfsapi.connect('127.0.0.1', 5001)
res = api.add(file)
print(res)
return(res['Hash'])



if mode == "-regtest": #If regtest then mine our own blocks
import os
os.system(cli + " " + mode + " generate 400")

with open(csv_file, "r") as csvfile:
#print(rpc_call('getbestblockhash'))
reader = csv.DictReader(csvfile)
for issue in reader:
if issue.get('reissuable') == 'TRUE':
issue['reissuable'] = True
else:
issue['reissuable'] = False
print(issue['asset'], issue['qty'], issue['units'])
asset = issue['asset']
meta = issue.copy();
NormalizeMetaData(meta)
print(issue['asset'])

#If a contract_url is present, then sign it and add the proof to the meta data
if meta.get('contract_url'):
meta['contract_hash'] = get_contract_hash(meta['contract_url'])
meta['contract_address'] = get_address();
meta['contract_signature'] = sign_hash(meta['contract_address'] , meta['contract_hash'])
print(meta['contract_signature'])



#If there is metadata, then add to IPFS
ipfs_hash = ''
if (len(meta)):
file = issue['asset'] + '.json'
with open(file, 'w') as fp:
json.dump(meta, fp, sort_keys=True, indent=2)
ipfs_hash = add_to_ipfs(file)
print(issue['asset'] + " IPFS Hash:" + ipfs_hash)
else:
print(issue['asset'] + " No metadata")

issue_asset(issue['asset'], issue['qty'], issue['units'], issue['reissuable'], meta.get('contract_address', ''), ipfs_hash)





Loading