From ec130b693f9159436a9f39fcdff03921894cda5e Mon Sep 17 00:00:00 2001 From: rico666 Date: Mon, 17 Sep 2018 14:29:00 +0200 Subject: [PATCH] BRS 2.2.3 release --- README.md | 16 +- html/ui/css/dev/burstold.css | 48 +- html/ui/html/header.html | 1 + html/ui/html/modals/alias.html | 100 ++-- html/ui/html/modals/dgs.html | 182 ++++---- html/ui/html/modals/request_burst_qr.html | 120 +++++ html/ui/html/modals/send_message.html | 30 +- html/ui/index.html | 2 + html/ui/js/brs.aliases.js | 25 +- html/ui/js/brs.crowdfunding.js | 37 +- html/ui/js/brs.dgs.js | 36 ++ html/ui/js/brs.messages.js | 8 + html/ui/js/brs.modals.accountinfo.js | 4 +- html/ui/js/brs.modals.js | 4 +- html/ui/js/brs.modals.request.js | 202 +++++++++ html/ui/js/brs.modals.transaction.js | 8 +- html/ui/locales/en.json | 12 +- pom.xml | 19 +- src/brs/BlockchainProcessorImpl.java | 426 +++++++++--------- src/brs/Burst.java | 7 +- src/brs/TransactionProcessorImpl.java | 238 +++++----- src/brs/deeplink/DeeplinkQRCodeGenerator.java | 92 ++++ src/brs/feesuggestions/FeeSuggestionType.java | 21 + src/brs/http/API.java | 5 +- src/brs/http/APIServlet.java | 40 +- src/brs/http/CreateTransaction.java | 4 +- src/brs/http/GenerateDeeplinkQRCode.java | 118 +++++ src/brs/http/JSONResponses.java | 11 +- src/brs/http/ParameterParser.java | 4 +- src/brs/http/SendMoneyMulti.java | 15 +- src/brs/http/SendMoneyMultiSame.java | 6 +- src/brs/http/common/Parameters.java | 5 +- src/brs/peer/PeerImpl.java | 1 + src/brs/peer/Peers.java | 24 +- .../TransactionDuplicatesCheckerImpl.java | 6 + .../ReservedBalanceCache.java | 6 +- .../UnconfirmedTransactionStoreImpl.java | 40 +- test/java/brs/common/QuickMocker.java | 4 +- .../UnconfirmedTransactionStoreTest.java | 31 +- 39 files changed, 1392 insertions(+), 566 deletions(-) create mode 100644 html/ui/html/modals/request_burst_qr.html create mode 100644 html/ui/js/brs.modals.request.js create mode 100644 src/brs/deeplink/DeeplinkQRCodeGenerator.java create mode 100644 src/brs/feesuggestions/FeeSuggestionType.java create mode 100644 src/brs/http/GenerateDeeplinkQRCode.java diff --git a/README.md b/README.md index d9df02135..b2e90451a 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,12 @@ new option naming system. ###### MariaDb -In the conf directory, copy brs-default.properties into a new file named brs.properties. +In the conf directory, copy `brs-default.properties` into a new file named `brs.properties`. Download and install MariaDB The MariaDb installation will ask to setup a password for the root user. -Add this password to the brs.properties file created above in the following section: +Add this password to the `brs.properties` file created above in the following section: ``` DB.Url=jdbc:mariadb://localhost:3306/brs_master DB.Username=root @@ -61,15 +61,13 @@ DB.Password=YOUR_PASSWORD ``` The MariaDB installation will also install HeidiSQL, a gui tool to administer MariaDb. -Use it to connect to the newly created mariaDb server and create a new DB called 'burstwallet'. +Use it to connect to the newly created mariaDb server and create a new DB called `burstwallet`. #### MacOS -Plase use beatsbears' comfortable script -to install and maintain the Burst wallet on your Mac. -An older howto at ecomineearth - basically describes -the manual steps the script above does for you. +BRS can be installed using a [Homebrew](https://brew.sh/) [formula](https://github.com/nixops/homebrew-burstcoind). A short tutorial on how to install BRS using homebrew can be found at [ecomine.earth/macos](https://ecomine.earth/macos/). + +A number of other Hombrew formulas (written by [Nixops](https://github.com/nixops)) are also available for plotters and miners. #### Other Unix-like systems @@ -95,7 +93,7 @@ mysql -uroot < init-mysql.sql ##### Configure your Wallet -Now you need to add the following stuff to your conf/brs.properties: +Now you need to add the following stuff to your `conf/brs.properties`: ``` DB.Url=jdbc:mariadb://localhost:3306/brs_master diff --git a/html/ui/css/dev/burstold.css b/html/ui/css/dev/burstold.css index 5b9cd9d6c..2de6fc672 100644 --- a/html/ui/css/dev/burstold.css +++ b/html/ui/css/dev/burstold.css @@ -371,6 +371,12 @@ padding:5px .padding-left-10{ padding-left:10px; } +.padding-right-5{ + padding-right:5px; +} +.padding-right-10{ + padding-right:10px; +} .font-size-10{ font-size:10px; } @@ -578,14 +584,34 @@ to { color: #749a02; text-shadow: 0 0 9px #266000; } -.btn-suggested-fee{ - color: #fff !important; - background-color: #428bca; - border-color: #357ebd; - text-shadow: 0 -1px 0 rgba(0,0,0,0.2); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075); - } - .btn-suggested-fee:hover, .btn-suggested-fee:active, .btn-suggested-fee:focus { - color: #fff !important; - } \ No newline at end of file +.btn-suggested-fee { + color: #fff !important; + background-color: #428bca; + border-color: #357ebd; + text-shadow: 0 -1px 0 rgba(0,0,0,0.2); + -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075); + box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075); +} +.btn-suggested-fee:hover, .btn-suggested-fee:active, .btn-suggested-fee:focus { + color: #fff !important; +} +.btn-generic { + color: #fff !important; + background-color: #428bca; + border-color: #357ebd; + text-shadow: 0 -1px 0 rgba(0,0,0,0.2); + -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075); + box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075); +} +.btn-generic:hover, .btn-generic:active, .btn-generic:focus { + color: #fff !important; +} +.display-none{ + display:none; +} +.display-visible{ + display:visible; +} +.bold{ + font-weight:bold; +} diff --git a/html/ui/html/header.html b/html/ui/html/header.html index bd05d6375..01bd8ac23 100644 --- a/html/ui/html/header.html +++ b/html/ui/html/header.html @@ -19,6 +19,7 @@