SteemLinkedList v0.0.4-alpha Automated Test Run (test_run_1774633341)
SteemLinkedList Execution Report
List ID: test_run_1774633341
This is an automated post demonstrating the capabilities of the steem_linked_list data structure on the Steem blockchain.
1. Append Nodes
- Appended Node A:
block=104671175 trx_id=4371123dcf71206c49e83b37df7eca39224fca4e trx_num=0 - Appended Node B:
block=104671198 trx_id=762b89f4abde982121e0e5b9639009570299fa8f trx_num=3 - Appended Node C:
block=104671221 trx_id=8fe1bfbeebf3120f5b89af12179dc38b94a1e1b4 trx_num=0 - Appended Node D:
block=104671239 trx_id=b46561eec5d298d64eb45e80d30deffecc2aaf16 trx_num=0
Waiting 90 seconds for blocks to confirm...
2. Index Rebuild & Sync
rebuild_index()successfully loaded 0 nodes via targeted prev-chain walking.sync()found 5 new nodes (incremental sync test).
3. Traversal & Searches
- Forward iteration:
['A', 'B', 'C', 'D'] - Reverse iteration:
['D', 'C', 'B', 'A'] - Head node value:
A - Search: Payload with value 'B' found at seq=
2
4. Delete Node by Absolute Sequence
- Soft-deleted node at seq=2 (value: 'B'). Tombstone trx_id=
e811954644623568b5f04d29b47988d135195222.
4a. Delete Node by Active Index
- Soft-deleted node at active_index=1 (value: 'C'). Tombstone trx_id=
ded58472acb503346b3d6ee2707d942671c3d107. - Active items visible during normal iteration:
['A', 'D'] - All items including tombstones:
['A', 'B', 'C', 'D', '[DELETED]', '[DELETED]'] get(2)accesses absolute seq=2:B(Now deleted)get_active(1)accesses the 2nd remaining active node:D
5. Fetch Node Directly by Pointer
- Fetched node directly from blockchain via pointer
(block=104671198, trx=762b89f4abde982121e0e5b9639009570299fa8f, trx_num=3):{'action': 'append', 'value': 'B', 'desc': 'Second node'}
6. Export & Import Index
- Exported local index into a standard JSON list (length: 7)
- Imported index into a new list instance without querying the blockchain. Verified head value:
A
7. Final Linked List State
Here are the block and transaction numbers for the final linked list:
- Seq 0: block=
104671157, trx_id=085ecf15acdbe9bd85189e33d9757210d30ce206, trx_num=0(value: List Anchor) - Seq 1: block=
104671175, trx_id=4371123dcf71206c49e83b37df7eca39224fca4e, trx_num=0(value: A) - Seq 2: block=
104671198, trx_id=762b89f4abde982121e0e5b9639009570299fa8f, trx_num=3(value: B) - Seq 3: block=
104671221, trx_id=8fe1bfbeebf3120f5b89af12179dc38b94a1e1b4, trx_num=0(value: C) - Seq 4: block=
104671239, trx_id=b46561eec5d298d64eb45e80d30deffecc2aaf16, trx_num=0(value: D) - Seq 5: block=
104671309, trx_id=e811954644623568b5f04d29b47988d135195222, trx_num=0(value: [DELETED]) - Seq 6: block=
104671325, trx_id=ded58472acb503346b3d6ee2707d942671c3d107, trx_num=0(value: [DELETED])