3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-11 17:55:53 +00:00

2393 Commits

Author SHA1 Message Date
CalDescent
2d1b7e4385 Use correct coinbase transaction for Ravencoin 2022-04-24 11:23:17 +01:00
CalDescent
85728d12c7 Revert "Put back to BLOCK_VERSION_GENESIS (1)"
This reverts commit 6ffdc039506d6a4a79b4a82bcba68ad7a4c8f90e.
2022-04-24 10:33:32 +01:00
CalDescent
714779ee1d Revert "Copied genesis transaction output from ravencoinj"
This reverts commit a5755908f0a58abe42044ebbfb8b64455aef0ee9.
2022-04-23 17:22:09 +01:00
CalDescent
a5755908f0 Copied genesis transaction output from ravencoinj 2022-04-23 17:17:21 +01:00
CalDescent
6ffdc03950 Put back to BLOCK_VERSION_GENESIS (1) 2022-04-23 17:12:20 +01:00
CalDescent
4957559878 Fixed incorrect genesis timestamp in last commit 2022-04-23 16:45:27 +01:00
CalDescent
0786a0ec37 Updated Ravencoin genesis block values. 2022-04-23 16:31:29 +01:00
CalDescent
6fec8631ea
Merge pull request #1 from QuickMythril/ravencoin
Added Ravencoin mainnet params
2022-04-23 14:07:06 +01:00
QuickMythril
98e5348113
Added Ravencoin mainnet params 2022-04-23 08:24:39 -04:00
CalDescent
5ce2206410 Fixed incorrect comment 2022-04-22 16:28:45 +01:00
CalDescent
dd1ed81f51 Added Digibyte mainnet unit test 2022-04-22 16:23:45 +01:00
CalDescent
02e0d3dc53 Construct the AltcoinBlock differently, because setMerkleRoot() is private. 2022-04-22 16:15:33 +01:00
CalDescent
99249bfdb7 Revert "Fixed incorrect genesis block script."
This reverts commit 790b449c41159103207084121845107ecd8cc278.
2022-04-22 15:01:16 +01:00
CalDescent
790b449c41 Fixed incorrect genesis block script. 2022-04-22 14:50:43 +01:00
CalDescent
6cf02a0d89 Copied Digibyte genesis block info from digibytej 2022-04-22 14:23:51 +01:00
CalDescent
247eaabc22 Added Digibyte mainnet params, based on Litecoin classes, but using constants from https://github.com/DigiByte-Core/digibytej
This implementation is incomplete and may need modifications before it is fully usable.
2022-04-22 14:03:11 +01:00
jjos2372
dcbc42885e Revert gradle version. 2021-01-29 12:19:14 -03:00
jjos2372
3d47666fb4 Updated gradle. 2021-01-29 12:07:56 -03:00
jjos2372
0f18ff1c3c Another seed node. 2021-01-29 12:07:48 -03:00
jjos2372
bf9fb8063c Segwit hrp 2020-06-02 19:45:49 -03:00
jjos2372
cc179d72c7
Delete travis 2020-02-26 10:04:14 -03:00
jjos2372
806b3926c2
Update README 2020-02-26 10:03:25 -03:00
jjos2372
ef6b5035d4
Update README 2020-02-26 09:57:59 -03:00
jjos2372
4abb955131
Update README 2020-02-26 09:45:21 -03:00
jjos2372
f26e20bb13 Removing maven build 2020-02-26 09:24:26 -03:00
jjos2372
e5da0b24df Fixing compilation, upated to bitcoinj 0.15, removed Namecoin 2020-02-26 09:13:43 -03:00
jjos2372
9afa0dd01f gradle build 2020-02-26 09:11:12 -03:00
jjos2372
657ebf57de Adding gradle build 2020-02-26 09:04:49 -03:00
jjos2372
9159a629a2 Removed namecoin stuff 2020-02-26 09:04:01 -03:00
langerhans
889ff26ebf Update fasterxml dependency 2019-05-04 16:40:20 +02:00
JeremyRand
31fb8985ba Namecoin LevelDBTransactionCache: Only store name scriptPubKey in the record, not entire transaction. (#32)
This breaks backward compatibility with older name databases.  You'll need to delete the blockchain and resync.
2018-03-18 08:59:42 +00:00
Max K
6ce57fdb04
Remove non-working seed (#30) 2017-12-29 22:09:00 +01:00
JeremyRand
9d20db9a84 Namecoin: add LevelDBTransactionCache algorithm. (#27)
Added Namecoin latest-name lookup algorithm using a local LevelDB transaction cache.
2017-11-06 10:36:12 +00:00
MikeR
70ce836956 Add Regtest mode for Litecoin (#20) 2017-06-19 09:58:47 +01:00
Ross Nicoll
1419b81241 Merge pull request #19 from JeremyRand/namecoin-fix-hash-verification
Fix verification bug in Namecoin.
2017-03-22 10:13:59 +00:00
JeremyRand
0237a504c4 Fix verification bug in Namecoin.
P2P full-block by-hash retrieval wasn't verifying that the received block had a header whose hash matched the requested hash.

This probably made it trivially easy to falsify name records, since any internally valid block supplied by a malicious P2P peer (or a MITM attacker) would be accepted, and the name transactions in it trusted as valid, even if the block had (for example) minimum difficulty.

The REST Merkle API is unaffected.

There's a reason I haven't deployed libdohj-namecoin to end users yet; this is that reason.  Review takes time.
2016-07-21 19:59:20 +00:00
Ross Nicoll
faadcca7ad Merge pull request #18 from JeremyRand/namecoin-initial-pull-request
Initial Namecoin support
2016-07-05 20:15:00 +01:00
JeremyRand
ca28f2a0ba Add classes for name lookups with SPV verification. 2016-07-04 04:04:39 +00:00
JeremyRand
80faef7303 Added tests for name transaction utils. 2016-07-04 04:04:39 +00:00
JeremyRand
7f873b69a6 Added util class for processing name transactions. 2016-07-04 04:04:39 +00:00
JeremyRand
a9fa671988 Added tests for parsing name scripts. 2016-07-04 04:04:39 +00:00
JeremyRand
f8186d9aee Added (incomplete) support for parsing name scripts. 2016-07-04 04:04:39 +00:00
JeremyRand
0cb659ca21 Added network parameters for Namecoin (abstract and mainnet). 2016-07-04 04:04:39 +00:00
Ross Nicoll
bacc348541 Restructure libdohj around Maven modules 2016-06-27 21:06:44 +01:00
Ross Nicoll
6f92dc64bd Update to bitcoin 0.14.2 2016-06-05 11:31:20 +01:00
Ross Nicoll
89cf3c6b17 Handle legacy AuxPoW blocks
Adds handling of legacy AuxPoW blocks before there was a merged mining
header.
2016-02-28 11:48:40 +00:00
Ross Nicoll
9afda0e8e9 Add build status image 2016-01-08 20:37:00 +00:00
Ross Nicoll
75fa1f4677 Add Travis configuration 2016-01-08 20:31:16 +00:00
Ross Nicoll
24f1ffe459 Clean up network parameters
Correct block subsidy calculations for Dogecoin and Litecoin and add test
coverage for both networks.
Change Litecoin block version check parameters to match Litecoin Core.
Add checkpoints for Dogecoin main and test, and Litecoin main network.
2015-12-28 21:17:47 +00:00
Ross Nicoll
9261271b3d Add Litecoin testnet difficulty rules
Add special rules for Litecoin testnet difficulty transitions when there's
a long break between blocks
2015-12-28 10:19:31 +00:00