Commit graph

28 commits

Author SHA1 Message Date
Kay Kurokawa
40e034ef1b add logging messages to debug the crashing support on abandon issue 2017-12-28 11:43:14 -05:00
Kay Kurokawa
86592934cb Adding effective amount function to CClaimTrie 2017-01-04 13:57:28 -05:00
Jimmy Kiselak
e713501a5d start making getclaimsforname rpc command 2016-07-14 23:11:31 -04:00
Jimmy Kiselak
e08d765f11 Merge branch 'master' of https://github.com/bitcoin/bitcoin into realusmerge
Conflicts:
	Makefile.am
	README.md
	configure.ac
	contrib/seeds/nodes_main.txt
	qa/rpc-tests/decodescript.py
	qa/rpc-tests/test_framework/util.py
	src/Makefile.am
	src/Makefile.qt.include
	src/Makefile.qttest.include
	src/Makefile.test.include
	src/bitcoin-cli-res.rc
	src/bitcoin-cli.cpp
	src/bitcoin-tx.cpp
	src/bitcoind.cpp
	src/chainparams.cpp
	src/chainparamsseeds.h
	src/init.cpp
	src/main.cpp
	src/main.h
	src/miner.cpp
	src/net.cpp
	src/primitives/block.cpp
	src/rpc/mining.cpp
	src/rpc/rawtransaction.cpp
	src/rpc/server.cpp
	src/rpcserver.h
	src/script/interpreter.cpp
	src/script/script.cpp
	src/script/script.h
	src/test/alert_tests.cpp
	src/test/data/alertTests.raw
	src/test/data/script_invalid.json
	src/test/data/script_valid.json
	src/test/data/tx_invalid.json
	src/test/data/tx_valid.json
	src/test/miner_tests.cpp
	src/test/script_tests.cpp
	src/test/test_bitcoin.cpp
	src/test/test_bitcoin.h
	src/test/transaction_tests.cpp
	src/timedata.cpp
	src/util.cpp
	src/wallet/rpcwallet.cpp
	src/wallet/wallet.cpp
	src/wallet/wallet.h
2016-05-15 22:16:56 -04:00
Jimmy Kiselak
7b866aa51e Merge in proofs, and fix two delay related bugs
Bug #1: If a claim was inserted for name which had no previous
claims, it would be treated as if it had been under
continuous ownership since block 0

Bug #2: When disconnecting and connecting blocks, the official
trie was checked to see if changes of ownership took place,
which could result in the wrong answer if a single cache was
used to disconnect/connect multiple blocks without flushing
to the trie

Merge branch 'master' of git.jimmykiselak.com:/usr/git/ncc into real

Conflicts:
	src/ncctrie.cpp
	src/ncctrie.h
	src/rpcserver.cpp
	src/test/ncctrie_tests.cpp
2016-02-10 19:44:39 -05:00
Jimmy Kiselak
5a170adab8 change type of expiration queue 2016-01-04 19:04:55 -05:00
Jimmy Kiselak
1f9a22d62e change type for support queue and type stored in block undo for claim insertions 2015-12-31 02:51:09 -05:00
Jimmy Kiselak
4beb23eb2f change type stored in block undo for claim insertions 2015-12-30 14:30:43 -05:00
Jimmy Kiselak
76d4b51843 reorder operations in decrementBlock 2015-12-29 16:36:06 -05:00
Jimmy Kiselak
4d3c19e626 change type in claim queue 2015-12-29 16:21:09 -05:00
Jimmy Kiselak
97f2067c66 make supports expire 2015-12-29 13:50:11 -05:00
Jimmy Kiselak
78871a7091 clean up claimtrie some, start working toward expiring supports 2015-12-23 14:12:32 -05:00
Jimmy Kiselak
06a9919b48 Create OP_UPDATE_CLAIM, make OP_SUPPORT_CLAIM refer to claimID
Updates to claims now refer to a unique ID assigned to OP_CLAIM_NAMEs.
The claimID is the Hash160 of the claim's hash and nOut. When an
update is updated, that same claimID is used, so all updates to a
claim will use the original claimID.

Supports now refer to the claimID rather than a specific hash and
nOut.
2015-12-22 19:11:50 -05:00
Jimmy Kiselak
7859b72ab4 add an upper limit to the delay between when a claim or support is made and when it becomes active 2015-12-17 12:05:20 -05:00
Jimmy Kiselak
f9dfe3d067 switch to only using proportional delay 2015-12-17 03:11:46 -05:00
Jimmy Kiselak
c759aebfab handle situation where expired claim is spent correctly 2015-12-09 23:37:16 -05:00
Jimmy Kiselak
50d78cfdba implement the proportional auction delay 2015-12-05 23:08:11 -05:00
Jimmy Kiselak
98ada76975 lay the ground work for a proportional auction delay 2015-12-05 23:08:11 -05:00
Jimmy Kiselak
bf45e835fb remove unnecessary non-const function, make other function const 2015-10-29 00:17:21 -04:00
Jimmy Kiselak
cda9f1f0ff extend getclaimsfortx to also handle supports 2015-10-27 22:14:04 -04:00
Jimmy Kiselak
3862e2f809 merge in rpc command for getting claims for transaction 2015-10-27 17:55:33 -04:00
Jimmy Kiselak
7af9e6dc93 fix null pointer dereference 2015-10-21 23:35:30 -04:00
Jimmy Kiselak
f976d965c7 merge upstream changes, set up testnet and regtestnet 2015-10-21 22:30:56 -04:00
Jimmy Kiselak
f0b2c46d68 change structure of claim supports, implement rpc commands for supports 2015-10-01 02:37:47 -04:00
Jimmy Kiselak
3e85228387 add more tests for supports and one additional test for claims 2015-09-28 17:57:17 -04:00
Jimmy Kiselak
6557635e16 finish implementing supports in the claim trie 2015-09-27 18:24:46 -04:00
Jimmy Kiselak
2dcc6a989e start implementing supporting claims 2015-09-25 17:09:21 -04:00
Jimmy Kiselak
eb25177f5e do some rebranding and change default ports 2015-09-24 01:15:28 -04:00
Renamed from src/ncctrie.cpp (Browse further)