akildemir
b2ab2f606c
Security fixes ( #48 )
...
* unify tx versions; add missing protocol tx checks
* fixed errors with protocol_tx handling pre-Carrot
* fixed error caused by setting coinbase_tx version to 4
* fix eph pubkey check for protocol tx verification
* Update tx_pool.cpp
---------
Co-authored-by: Some Random Crypto Guy <somerandomcryptoguy@protonmail.com >
Co-authored-by: somerandomcryptoguy <139346562+somerandomcryptoguy@users.noreply.github.com >
2025-08-20 15:26:36 +01:00
Some Random Crypto Guy
ec33664734
fixed support for multiple STAKE TXs in same block, post-Carrot; bumped RC version
2025-08-14 17:42:47 +01:00
akildemir
9ba621b3ae
post carrot stake tx support ( #32 )
...
* add support for stake txs and payouts post-carrot
* fixes on the stake return payments
* complete post-carrot stake txs
* rename protocol_tx_data to protocol_tx_data_t
2025-07-23 14:58:11 +01:00
j-berman
d483b9872b
jeffro comments
2025-05-20 15:15:30 +03:00
Some Random Crypto Guy
9d9471d314
fixed a couple of unit_test issues; bumped RC version
2025-04-01 12:18:56 +01:00
Some Random Crypto Guy
420824005e
updates to allow building of all platforms using 'make depends'
2025-03-14 05:24:56 +00:00
Some Random Crypto Guy
9baeb750ac
interim checkin of the rebased code
2025-03-13 17:57:28 +00:00
Some Random Crypto Guy
aa64124c28
fix for supply_info command with SAL supply going negative
2025-02-14 13:28:22 +00:00
Some Random Crypto Guy
ee586a3fca
added asset_type check - sorry, sneaky hackers, but you have a spy in your midst ;)
2025-02-04 10:09:49 +00:00
Some Random Crypto Guy
a7c1ba652b
interim checkin of changes for audit; bumped version number
2025-01-29 15:39:08 +00:00
Some Random Crypto Guy
b87c243da1
fixed unit tests; fixed core tests; fixed performance tests; added fix to prevent change in block reward split (thanks Akil); added prelim code for spend authority proof - not complete / working
2024-12-15 11:09:46 +00:00
Some Random Crypto Guy
d1eed6e9ff
interim commit - NOT TESTED
2024-09-14 11:06:23 +01:00
Some Random Crypto Guy
addd26cd47
Fixes include:
...
- setting DEFAULT_STACK_TRACE=OFF for all release builds (prevents boost weak_ptr crash on some Linux systems)
- setting RPC-SSL to disabled by default (fixes "no connection to daemon" error)
- updated BlockchainLMDB::get_circulating_supply() to report staked coins as something other than BURNT
- bumped to v0.4.5
2024-08-16 14:01:11 +01:00
Some Random Crypto Guy
c20ab30963
fixed error when popping blocks containing multiple STAKE TXs; fixed 'version' command in daemon; bumped version number
2024-06-23 08:56:59 +01:00
Some Random Crypto Guy
f07d3942e1
fixed stake returned wallet balance; updated yield_info and supply_info commands
2024-06-22 19:40:19 +01:00
Some Random Crypto Guy
193a22d55c
fixed circulating supply calculation; more rebranding; bumped version number to v0.3.0
2024-06-20 12:02:43 +01:00
Some Random Crypto Guy
584890ab25
fixed up some missing copyright messages; added unlock_time validation for protocol_tx outputs
2024-06-10 14:54:57 +01:00
Some Random Crypto Guy
e69437ca6a
added more secure verification of protocol_tx outputs; bumped version number
2024-06-07 17:02:13 +01:00
Some Random Crypto Guy
d39c20bb2d
rebase to 0.18.3.3 completed
2024-06-05 14:03:44 +01:00
ncoggins
42d8dc5ece
fixed output of show_transfers, including filtering by TX type; bumped version number
2024-05-20 20:57:10 +01:00
Some Random Crypto Guy
4607939ab6
fixed unlock time info displayed for mined blocks; added tx_type to get_return_address() call - needed for F point on transfers; bumped version
2024-05-16 22:29:32 +01:00
Some Random Crypto Guy
ae28c7a900
implementation of yield_info function
2024-05-14 14:23:31 +01:00
Some Random Crypto Guy
b0ce6d2969
resolved the yield calculation issue
2024-05-12 22:59:43 +01:00
Some Random Crypto Guy
34b2f9b315
commenced removal of pricing_record touchpoints for MVP release
2024-05-07 14:34:19 +01:00
Some Random Crypto Guy
606580a173
Interim checkin
...
This code contains working "return address" semantics for CONVERT and YIELD.
2024-02-16 11:02:11 +00:00
Some Random Crypto Guy
a3a7f686f3
Added functions to cache and manage yield calculations
...
Removed "tx.amount_locked" field - "tx.amount_burnt" is technically correct for all cases.
Removed invalid checkpoint data.
2024-01-30 14:22:46 +00:00
Some Random Crypto Guy
3a032c58a4
Fixed a number of issues with serialization of pricing_record entries.
2024-01-17 12:43:10 +00:00
Some Random Crypto Guy
5ba22c2ec9
Far too many changes to track, but the key ones are:
...
1. rewrite of the Haven variation of the Pricing Record class to support:
- versioning of the PR format
- nested supply_data and asset_data structs
- verification of the signature using a variable-length string (not R+S)
2. calculation of the slippage tallies for a block in add_block(), so that
we can work out the yield that is due to be paid out for the block.
Loads of little fixes and cleanups.
2024-01-10 23:21:56 +00:00
Some Random Crypto Guy
6b791a3df2
Improved documentation in the code.
...
Designed, but not implemented, the mechanism for yield - see db_lmdb.cpp
2023-12-27 19:33:28 +00:00
Some Random Crypto Guy
a06b121dde
First completed round trip test of sFUL/FUSD -> FULM
...
After all of the trials and tribulations, we finally have a viable prototype!
The code is working for conversions of all kinds. There are a number of
strange and annoying bugs still present, like the rings in the CLI wallet are
misbehaving at times. But we have a viable product.
2023-12-22 21:43:07 +00:00
Some Random Crypto Guy
6d08d5aabf
A whole host of changes to start supporting more unified approach to uniqueness
...
Lots of refactoring still to be done in the codebase, and currently TRANSFER
method does not work - the daemon does not send the real output for some reason.
Lots still to do - please be patient.
This code is NOT ready for use. Or testing. Or anything else.
2023-12-20 01:06:23 +00:00
Some Random Crypto Guy
6787d1d018
This is a big update towards working protocol transactions.
...
1. The CONVERT TX is creating the necessary information.
2. The PROTOCOL TX is creating the necessary information.
3. The wallet recognises the subaddress (kind of) on incoming amounts.
At present, the PROTOCOL TX outputs are NOT spendable or included in balances.
2023-12-13 14:41:59 +00:00
Some Random Crypto Guy
4955910886
this code is a hot mess of confusion with transfer_details and public_keys being scattered to the four winds. this code is NOT safe to use in its current format
2023-12-07 21:17:04 +00:00
Some Random Crypto Guy
be8e0f7327
Fixed the key definition for circ_supply to allow duplicate tx_ids
...
Updated the CLI wallet to remove the "address" parameter from CONVERT.
Reordered processing of CONVERT vs PROTOCOL TXs, so that the PROTOCOL
TXs have the necessary data to decode the destination address.
2023-11-22 06:25:25 +00:00
Some Random Crypto Guy
c1f5dd42e8
change is once again working in the wallet - this only leaves the converted amounts to be paid out, and yield TXs to be supported
2023-11-21 21:22:21 +00:00
Some Random Crypto Guy
ef27f6380e
updated to support propagation of the transaction type - this was necessary to distinguish between YIELD and TRANSFER type
2023-11-17 17:43:21 +00:00
Some Random Crypto Guy
7f6b8daa49
placeholder checkin because of so many changes having been made - let's use github as a backup site
2023-11-09 18:53:09 +00:00
Some Random Crypto Guy
aefeb0f83a
so this commit contains a new GENESIS TX with the revised TX format - no pricing_record_height etc. Lots of reworking of tests because of changes to function prototypes, etc
2023-10-27 06:14:59 +01:00
Some Random Crypto Guy
0b3633ccdc
working premine; empty first version of PROTOCOL_TX in block
2023-10-18 10:48:16 +01:00
Some Random Crypto Guy
08539345d2
little bit of branding
2023-09-13 17:46:22 +01:00
Some Random Crypto Guy
dac963ca27
added asset_type handling to TX outputs
2023-07-16 22:00:53 +01:00
Some Random Crypto Guy
bf78bd79a1
initial import of Monero base code
2023-07-16 22:00:52 +01:00