CalDescent
a2cac003a4
Major rework of chunk hashes
...
Chunk hashes are now stored off chain in a metadata file. The metadata file's hash is then included in the transaction.
The main benefits of this approach are:
1. We no longer need to limit the total file size, because adding more chunks doesn't increase the transaction size.
2. This increases the chain capacity by a huge amount - a 512MB file would have previously increased the transaction size by 16kB, whereas it now requires only an additional 32 bytes.
3. We no longer need to use variable difficulty; every transaction is the same size and so the difficulty can be constant no matter how large the files are.
4. Additional metadata (such as title, description, and tags) can ultimately be stored in the metadata file, as apposed to using a separate transaction & resource.
5. There is also scope for adding hashes of individual files into the metadata file, if we ever wanted to allow single files to be requested without having to download and build the entire resource. Although this is unlikely to be available in the short term.
The only real negative is that we now how to fetch the metadata file before we know anything about the chunks for a transaction. This seems to be quite a small trade off by comparison.
Since we're not live yet, there is no backwards support for on-chain hashes, so a new data testchain will be required. This hasn't been tested outside of unit tests yet, so there will likely be several fixes needed before it is stable.
2021-12-01 12:37:21 +00:00
CalDescent
ef2ee20820
Merge remote-tracking branch 'qortal/master'
...
# Conflicts:
# pom.xml
# src/main/java/org/qortal/api/resource/ListsResource.java
# src/main/java/org/qortal/list/ResourceList.java
# src/main/java/org/qortal/list/ResourceListManager.java
# src/main/java/org/qortal/transaction/ChatTransaction.java
2021-11-27 19:41:17 +00:00
CalDescent
6930bf0200
Bump version to 2.1.0
2021-11-24 18:36:40 +00:00
CalDescent
098d7baa4d
Bump version to 2.1.0-prerelease.0
2021-11-23 19:03:27 +00:00
CalDescent
05be5c1199
Version set to 2.0.0, given that this will ultimately be merged into the main qortal core. It makes sense to keep the version numbers in sync.
2021-10-25 19:06:48 +01:00
CalDescent
f3ef112297
Merge remote-tracking branch 'qortal/master'
...
# Conflicts:
# .gitignore
# pom.xml
# src/main/java/org/qortal/controller/Controller.java
# src/main/java/org/qortal/gui/SysTray.java
# src/main/java/org/qortal/settings/Settings.java
# src/main/resources/i18n/ApiError_en.properties
# src/test/java/org/qortal/test/CryptoTests.java
# src/test/resources/test-settings-v2.json
2021-10-15 09:03:28 +01:00
CalDescent
e2134d76ec
Bump version to 2.0.0
2021-10-13 18:16:50 +01:00
CalDescent
651372cd64
Bump version to 2.0.0-beta.7
2021-10-12 18:56:58 +01:00
CalDescent
b103c5b13f
Bump version to 2.0.0-beta.6
2021-10-09 17:46:20 +01:00
CalDescent
ba272253a5
Bump version to 2.0.0-beta.5
2021-10-09 13:03:58 +01:00
CalDescent
17e65e422c
Bump version to 2.0.0-beta.4
2021-10-08 19:11:25 +01:00
CalDescent
5a55ef64c4
Bump version to 2.0.0-beta.3
2021-10-06 19:51:33 +01:00
CalDescent
81bf79e9d3
Bump version to 2.0.0-beta.2
2021-10-06 18:23:51 +01:00
CalDescent
5397e6c723
Bump version to 2.0.0-beta.1
2021-10-03 22:59:11 +01:00
CalDescent
210368bea0
Bump version to 2.0.0-beta.0
2021-10-03 19:43:28 +01:00
CalDescent
3bb3528aa5
Merge branch 'master' into bootstrap
2021-10-03 18:44:13 +01:00
CalDescent
0a4479fe9e
Initial implementation of automatic bootstrapping
...
Currently supports block archive (i.e. full) bootstraps only. Still need to add support for top-only bootstraps.
2021-09-28 20:17:19 +01:00
CalDescent
28ff5636af
Bump version to 1.7.0
2021-09-26 22:20:21 +01:00
CalDescent
8a8ec32f2c
Added java-diff-utils to pom.xml
...
This was accidentally missing from commit cb6fc46
.
2021-08-18 09:59:56 +01:00
CalDescent
96a82381d1
Bump version to 1.6.0
2021-08-01 18:19:59 +01:00
CalDescent
5a95c827b4
When serving a website, delete the unzipped directory if the index file is not found.
...
This is a quick solution to rebuild directory structures with missing files. This whole area of the code needs some reworking, as serving the site from a temporary folder is not a robust long term solution.
2021-07-10 15:51:46 +01:00
CalDescent
b8424e20aa
Bump version to 1.5.6
2021-07-08 18:24:11 +01:00
CalDescent
28425efbe7
Added jsoup dependency - this was missing from an earlier commit.
2021-07-02 08:52:38 +01:00
CalDescent
02dd64558f
Bump version to 1.5.5
2021-06-23 18:21:55 +01:00
CalDescent
86aab7023c
Initial settings for data node development. Most to be decided later.
2021-06-14 19:40:37 +01:00
CalDescent
b1777b6011
Bump version to 1.5.4
2021-06-13 19:22:16 +01:00
CalDescent
cc6ac4c9d9
Bump version to 1.5.3
2021-05-31 17:36:21 +01:00
Istvan Szabo
8a828137ee
Removed code coverage report as it seems to conflict with tests randomly
2021-05-27 09:52:33 +01:00
szisti
b64e52c0c0
Automated testing ( #38 )
...
* added basic workflow
* Testing workflow
* renamed workflow file
* Disabled extremely slow test
* Disabled currently failing tests
* Added jacoco and updated workflow
* We cannot run gui tests headless
* Fixed jacoco configuration
* Updated job name in the workflow
* Adjusting workflow
* Testing maven caching
* Added logging for one of the jacoco related issues
* Updated coverage logging
Co-authored-by: Istvan Szabo <istvan.szabo@betvictor.com>
2021-05-26 11:27:46 +01:00
CalDescent
654dc5bff3
Bump version to 1.5.2
2021-05-17 17:02:38 +01:00
CalDescent
1ba64d9745
Bumped bitcoinj version from 0.15.6 to 0.15.10
2021-05-16 10:00:28 +01:00
CalDescent
deb8adafc9
Added org.json dependency.
...
The com.googlecode.json-simple dependency we use in other parts of the project isn't ideal for some of the more complex parsing.
2021-05-15 09:15:29 +01:00
CalDescent
0c3597f757
Bump version to 1.5.1
2021-05-05 18:41:05 +01:00
CalDescent
c17a481b74
Bump version to 1.5.0
2021-04-26 18:34:01 +01:00
CalDescent
98308ecf98
Bump version to 1.4.6
2021-04-01 08:09:50 +01:00
CalDescent
b9a0d489d7
Bump version to 1.4.5
2021-03-21 17:06:10 +00:00
catbref
4824c4198b
Bump version to 1.4.4
2021-03-15 11:00:20 +00:00
catbref
0c7e388463
Bump to v1.4.3
2021-02-27 18:24:09 +00:00
catbref
f19e0498bf
Bump to v1.4.2
2021-02-21 17:06:23 +00:00
catbref
834fcd80d7
Bump version to v1.4.1
2021-01-18 08:17:09 +00:00
catbref
f3e1f088f8
Bump to v1.4.0
2021-01-07 07:49:13 +00:00
catbref
6eb9447bb9
Merge branch 'LTCv3-with-presence' into master
2021-01-07 07:45:47 +00:00
catbref
9bc395d36f
Bump to v1.3.9
2020-12-29 17:59:02 +00:00
catbref
e4e775a107
Bump to v1.3.8
2020-12-24 12:09:30 +00:00
catbref
e953be6e4a
In pom.xml, have Maven surefire plugin skip tests by default
2020-12-14 15:25:53 +00:00
catbref
ddb55210b4
Merge branch 'presence-txn' into LTCv3-with-presence
2020-11-30 15:10:03 +00:00
catbref
865fcb95bf
In pom.xml, have Maven surefire plugin skip tests by default
2020-11-27 14:26:01 +00:00
catbref
fc7a7a1549
Bump Maven surefire plugin to v2.22.2 for better test/CI support
2020-11-24 15:11:39 +00:00
catbref
fccb3a3f0c
Merge branch 'master' into LTCv3-merge-test
2020-11-13 10:46:45 +00:00
catbref
69ec654e4a
Bump to version 1.3.7
2020-11-11 09:27:25 +00:00