Commit Graph

56 Commits

Author SHA1 Message Date
Hardhat Chad
39e52de91e update comments 2024-07-30 18:39:34 +00:00
Hardhat Chad
accab7e0e8 comments 2024-07-29 23:27:58 +00:00
Hardhat Chad
e143ea0876 future proof introspection logic 2024-07-29 22:08:10 +00:00
Hardhat Chad
c9ccf96c16 cleanup 2024-07-29 00:20:57 +00:00
Hardhat Chad
47a242f87a simplify based on feedback 2024-07-29 00:18:48 +00:00
Hardhat Chad
c26fde97cc update comment 2024-07-26 22:58:12 +00:00
Hardhat Chad
722398f137 update comment 2024-07-26 22:52:19 +00:00
Hardhat Chad
e46ebcfdfc fix args 2024-07-26 22:18:20 +00:00
Hardhat Chad
1e2cdb6c91 Merge branch 'master' into hardhat/delcare 2024-07-26 16:35:50 -05:00
Hardhat Chad
c8091606a0 remove unneeded arg 2024-07-26 21:33:11 +00:00
Hardhat Chad
8dbb6a7180 remove unneeded id 2024-07-26 21:30:57 +00:00
Hardhat Chad
698192329b move file 2024-07-26 21:30:35 +00:00
Hardhat Chad
3bfe8506f4 auth 2024-07-26 21:26:47 +00:00
Hardhat Chad
c0c16f5e81 Merge pull request #71 from Kriptikz/master
Allow Mine instruction CPI's
2024-07-26 14:11:28 -05:00
Hardhat Chad
cac4f4b1b1 div by zero check 2024-07-25 20:30:25 +00:00
Kriptikz
e890e9c312 remove old mine fn introspect_transaction 2024-07-24 23:08:07 -05:00
Kriptikz
97a7d0cb28 update comments 2024-07-24 22:38:29 -05:00
Kriptikz
49d5e95dbb update mine transaction introspection to use declared proof 2024-07-24 22:26:07 -05:00
Kriptikz
67383ec8c0 add find_and_parse_declared_proof transaction introspection helper 2024-07-24 22:22:25 -05:00
Kriptikz
0308bb9268 add DeclareProof instruction 2024-07-24 21:22:35 -05:00
Hardhat Chad
7cd26298b0 update consts 2024-07-23 15:12:52 +00:00
Hardhat Chad
1078e57c9a Merge branch 'hardhat/no-crown' of https://github.com/regolith-labs/ore into hardhat/no-crown 2024-07-20 20:45:15 +00:00
Hardhat Chad
8cf62782d6 only track active stake 2024-07-20 20:45:13 +00:00
Hardhat Chad
bb9f5f3a40 Merge branch 'master' into hardhat/no-crown 2024-07-20 15:36:59 -05:00
Hardhat Chad
15f86584bb rename const 2024-07-20 20:36:07 +00:00
Hardhat Chad
50beff8c7e set range for min difficulty changes 2024-07-20 20:34:28 +00:00
Hardhat Chad
f9015f01c2 reset bus top balance 2024-07-20 19:17:19 +00:00
Hardhat Chad
7954bfa9ec remove crown instruction 2024-07-20 19:16:36 +00:00
Hardhat Chad
42a66de106 Merge branch 'master' into hardhat/min-difficulty 2024-07-19 16:47:06 -05:00
Hardhat Chad
91f8bddf85 Merge branch 'master' into add-proof-balance 2024-07-19 16:43:20 -05:00
Hardhat Chad
aac3360885 make min difficulty dynamic 2024-07-19 19:31:38 +00:00
Hardhat Chad
52aa6beefa normalize difficulty 2024-07-19 16:50:25 +00:00
Blas Rodriguez Irizar
8d6141e5a5 process_mine: ensure proof.balance is positive
Proof's balance > 0 in order to prooceed
on calculating reward boost for mining.
2024-07-17 22:39:36 +02:00
Blas Rodriguez Irizar
6d1bece0eb move spam rejection earlier to reduce cu usage 2024-07-16 23:14:24 +02:00
Hardhat Chad
f4b2fb8f42 bug fixes 2024-07-12 16:54:31 +00:00
Hardhat Chad
bd1ef11562 add separate payer account 2024-07-11 23:16:31 +00:00
Hardhat Chad
599b722130 saturating sub 2024-07-11 17:23:43 +00:00
Hardhat Chad
595aeb69e8 remove dev deps 2024-07-09 21:05:31 +00:00
Hardhat Chad
4eac56e2c4 program test 2024-07-09 20:54:48 +00:00
Hardhat Chad
79f19bfadb Merge pull request #60 from miralandlabs/master
fix introspect_transaction current position
2024-07-09 10:24:51 -05:00
Hardhat Chad
e10b8eedd1 move spl cpis to utils 2024-07-08 20:49:27 +00:00
Miraland Labs
1140675c6a fix introspect_transaction current position 2024-07-09 03:51:52 +08:00
Hardhat Chad
ce9a7012a2 rename utils to ore-utils 2024-07-08 18:12:51 +00:00
Hardhat Chad
b771faf1f7 Merge branch 'master' of https://github.com/regolith-labs/ore 2024-07-08 15:56:42 +00:00
Hardhat Chad
b9d7d9c9d9 comment 2024-07-08 15:56:39 +00:00
Hardhat Chad
2778ded6f1 Merge pull request #58 from regolith-labs/hardhat/tx-introspection
Open up introspection to allow for other programs
2024-07-08 10:55:36 -05:00
Hardhat Chad
9367eb9ebf Merge pull request #57 from regolith-labs/hardhat/safe-math
Safe math
2024-07-08 10:55:05 -05:00
Hardhat Chad
1580cd6055 fix introspection logic 2024-07-05 17:12:47 +00:00
Hardhat Chad
ec441fef54 Disallow crowning if last stake was less than one minute ago 2024-07-05 15:26:06 +00:00
Hardhat Chad
bcba77eb7c Disallow closing the top stake account 2024-07-05 15:25:49 +00:00