Miguel Freitas
78ba2a5609
another big wallet cleanup
12 years ago
Miguel Freitas
9946d6ed72
mining fixes: add salt to instance and use correct username for signing
12 years ago
Miguel Freitas
f2699c4753
rpcwallet cleanups
12 years ago
Miguel Freitas
927aad13a5
send transation of a new user created in wallet
12 years ago
Miguel Freitas
ad712d5006
fix wrongly erasing of indextx with checklevel==3
12 years ago
Miguel Freitas
f764674865
create/list users in wallet
12 years ago
Miguel Freitas
1c42569648
wallet rpc with username
12 years ago
Miguel Freitas
76f8a901a7
removing stuff
12 years ago
Miguel Freitas
fe57966e05
starting wallet cleanup. added username, renamed to twisterwallet.dat
12 years ago
Miguel Freitas
26bbd5614f
remove GetCoins/SetCoins
12 years ago
Miguel Freitas
fe01fd01cb
create CScript overload for << string
12 years ago
Miguel Freitas
4d43b4a6f0
fix CreateSpamMsgTx signing (GetHash on CHashWriter cannot be used twice)
12 years ago
Miguel Freitas
b05742d7f9
sign/verify test - not working
12 years ago
Miguel Freitas
84f796be7f
fix EraseTxIndex usage
12 years ago
Miguel Freitas
6e1c42e963
tx accepted!
12 years ago
Miguel Freitas
2fa9731108
remove stuff, improve TxToJSON
12 years ago
Miguel Freitas
a6ff5511fa
test invalid userhash (might be an invalid tx received from network)
12 years ago
Miguel Freitas
d9fdca340c
implement CScript => string extraction, check username constraits, improve username hash
12 years ago
Miguel Freitas
623b80c061
fix missing nHeight field
12 years ago
Miguel Freitas
7fd4a9f585
twister initial printf
12 years ago
Miguel Freitas
4f8b11b070
renamed binary to twisterd
12 years ago
Miguel Freitas
6ff04a0de2
fix genesis block hash
12 years ago
Miguel Freitas
0b753e0ce2
add nHeight to header for mining (a couple of offsets need +4 to work again)
12 years ago
Miguel Freitas
05c7d3f27d
fix/improve printf of created tx
12 years ago
Miguel Freitas
1556e436c5
fix -datadir inicialization and debug log
12 years ago
Miguel Freitas
1c4f457312
remove stuff
12 years ago
Miguel Freitas
c13ab7e5d5
comment how/where tx userhashes are checked upon block acceptance
12 years ago
Miguel Freitas
d66994d0f0
new function to create spam message
12 years ago
Miguel Freitas
311b1d7eaa
use txIndex instead of coins to keep track of commited tx
12 years ago
Miguel Freitas
4652b9f01b
mempool/cinv now indexed by userhash (all tx must be indexed by userhash btw)
12 years ago
Miguel Freitas
b0716cdc3d
fTxIndex always true in twister
12 years ago
Miguel Freitas
16a28fc9e9
some notes
12 years ago
miguel
2353123580
remove vtxPrev
12 years ago
Miguel Freitas
7f12546f84
change hash(tx) to hash(username) in ccoins
...
hash(tx) does not insure uniqueness of username
12 years ago
Miguel Freitas
878d15160f
ccoins is now the register element database
12 years ago
Miguel Freitas
d0e83d8803
add spammessage and sign it (untested)
12 years ago
Miguel Freitas
7a47376e40
removing stuff
12 years ago
Miguel Freitas
e70fafc0f9
removing stuff
12 years ago
Miguel Freitas
943bff5921
orphaned tx makes no sense anymore
12 years ago
Miguel Freitas
3cc155526a
block creation
12 years ago
Miguel Freitas
97ba3b787c
cleaning block/tx checking
12 years ago
Miguel Freitas
41f5e9f846
remove code
12 years ago
Miguel Freitas
27ee7c328b
add and verify proof of work in tx. remove some old stuff.
12 years ago
Miguel Freitas
0e863844ed
reenable rate limit on tx
12 years ago
Miguel Freitas
5018edc8ca
remove txfee
12 years ago
Miguel Freitas
2718ee55bf
make genesis block valid and disable gui
12 years ago
Miguel Freitas
9cb71491a6
adds userName to transaction
12 years ago
Miguel Freitas
73e1f33dc8
removed vin and vout from CTransaction
...
genesis block broken
12 years ago
Pieter Wuille
fb83a79b21
Fix minor backward incompatibility
...
The key refactor changed the way unencrypted private keys with compressed
public key are stored in the wallet. Apparently older versions relied on
this to verify the correctness of stored keys.
Note that earlier pre-release versions do risk creating wallets that can
not be opened by 0.8.3 and earlier.
12 years ago
Gregory Maxwell
e5c4dfdfc0
Make the rand tests determinstic. ( fixes #2714 )
...
This avoids spurious errors with the old tests but still tests
enough that if the rng is replaced with a totally broken one
it should still fail.
12 years ago