Commit Graph

1103 Commits

Author SHA1 Message Date
Crypto City
2b115b52f0 rpc: add start_height in get_block_pos_history response 2024-09-04 06:57:56 +00:00
Crypto City
e557e4ce18 rpc: ensure getting stakes is atomic 2024-09-04 06:24:05 +00:00
Crypto City
687a389fcb Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmXwr2oVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQjksIAJ9CSNK6LQU3b+8TdEv5knpMeyY/
 n6QXCA0Xl+rPJCseQZq5+FdwZjjdGm6ptm2+R/1nDjynw7jccChh2x/T0BH/3ewD
 h+30fOZ54Rm9m0hGUY7TQFf8+Nn2FK/OO+uexxMRPkj6yWmItvXTUDoEsnC0VCSn
 mA8GSy9w+ei6iTeviEH5FlSD37z/r8T5DPPy4Y44WVIWd/pR5klnnCNYFCVK2eXS
 nRuLRgY2r7hrfZfpH34JA2ITFVn7ijjZlmLN+/xNCoiIetkkvid4hZCnfl8haVC1
 G19S9cHUC0HtQxAjY8hbBrMj/7oi7SN+2+7+m/DfsyyrW0h9aX/GJySxSiA=
 =zXfB
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.3.3' into cc

Fluorine Fermi
2024-08-15 07:48:13 +00:00
Crypto City
bdb3e71b16 rpc: remove dead code
reported by sech1
2024-06-17 17:44:39 +00:00
Crypto City
3e8d84341e PoS block rewards now go directly to the staker's game balance
to avoid nuking ring signatures for everyone by having many linkable
inputs in transactions
2024-06-17 17:44:39 +00:00
Crypto City
2f34fc4efa add new RPC for p2pool usage 2024-06-17 17:44:39 +00:00
Crypto City
57c50ca528 add get_block_pos_history node RPC 2024-03-17 07:41:23 +00:00
Crypto City
c4bfbbe453 functional_tests: add a few more auction tests 2024-03-11 14:52:09 +00:00
Crypto City
e647dd20cb rpc: add cc_get_influences RPC 2024-03-11 14:51:46 +00:00
Crypto City
d4b92a2e1c cache role_bonus in flag data
it's used for pos weights, so needs to be fast to get
2024-03-11 14:51:46 +00:00
Crypto City
d079502b34 deactivate active flags which have just changed owner
to avoid an exploit with keeping placeholders accounts with
different occupations and shuffling flags around at the right
times to get all bonuses
2024-03-11 14:51:45 +00:00
Crypto City
e2d934146d balance occupations and add a few more 2024-03-11 14:51:45 +00:00
Crypto City
a745d7e476 hybrid PoW/PoS consensus
to protect against the first large monero miner to merge mine
being able to easily 51% the chain
2024-03-11 14:51:45 +00:00
Crypto City
4cdd25c47e fix role bonus
and add consumption/production stats
2024-02-18 17:37:33 +00:00
Crypto City
e50340da45 named places can now be set to prevent buying land
by the game account

also remove the nonce based id, and rename priority to id,
so places are always enumerated in priority order

the game account now has no limit on places named, so this
can be used for storytelling purposes without having to play
the game competitively with the game account
2024-02-07 08:03:46 +00:00
luigi1111
8eab181fe1
Merge pull request #9080
47d8899 Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
2024-01-18 18:03:43 -05:00
Crypto City
3372880ed3 new "times played script X" and "times played this script" operands
this is a common need, and avoids the wasteful and error prone use
of a player variable per script
2023-12-14 17:22:55 +00:00
Crypto City
1c6e8eec6f store full special event duration, not just number of game updates 2023-11-30 17:11:43 +00:00
Crypto City
6d07131e77 daemon: add cc_item_supply daemon command with cc_get_item_supply RPC 2023-11-30 17:11:43 +00:00
Crypto City
75b379e8cf add two more badges: amount paid in taxes, odin's favour received 2023-11-30 17:11:42 +00:00
Crypto City
be8a77f8b3 fix merge mining with more than one merge mined chain
reported by sech1
2023-11-30 17:11:42 +00:00
Lee Clagett
47d8899c90 Fix missing checks for IsObject in ZMQ jsonrpc reading 2023-11-28 18:05:15 -05:00
Lee *!* Clagett
fe746dca4e Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUB 2023-11-04 13:57:28 -04:00
Crypto City
2d5c280aff fix influence changes not showing up in building settings screen 2023-09-18 20:59:10 +00:00
Crypto City
5dc5eca758 delay user textures for a week after mining so they may be blocked
for anti abuse reasons
2023-09-12 06:41:18 +00:00
luigi1111
894adef295
Merge pull request #8891
842478c core_rpc_server: return ID of submitted block (jeffro256)
2023-08-17 10:18:12 -05:00
Crypto City
b7c7f45a24 fix demolishing buildings from the game 2023-08-13 13:17:55 +00:00
Crypto City
ac10041809 implement a couple more occupations 2023-08-02 08:59:27 +00:00
Crypto City
806fa5e069 restore dandelion except for game commands
game commands want to be mined asap, and do not need the
same level of privacy that currency transfers do
2023-07-20 14:00:18 +00:00
Crypto City
a222a17120 rpc: add some more commands to the news filter list 2023-07-20 09:28:08 +00:00
Crypto City
322cfd4add keep track of active accounts
hide them by default in account selection screen, and inactive
accounts may be dealt with differently in game ticks later if
it is needed for performance purposes
2023-07-20 08:21:10 +00:00
Crypto City
e69f21af61 add occupation as an account setting when creating an account
they don't have any effect yet
2023-07-18 06:16:23 +00:00
Crypto City
72ea2b635a add origin to character creation (to restrict title) 2023-07-17 14:35:24 +00:00
Crypto City
1fae98d79b allow customizing avatar colours after creation 2023-07-17 07:31:16 +00:00
Crypto City
ae2701b063 avatars can now be customized (body shape, skin/hair colour) 2023-07-17 07:31:16 +00:00
Crypto City
bbb124e13b allow auctions to lapse (set by auction creator) 2023-07-12 12:14:33 +00:00
Crypto City
a691472774 game: allow seeing trade history in trade screen 2023-07-09 20:11:39 +00:00
Crypto City
c43db96440 lit lightsources now increase building shares 2023-07-09 20:11:39 +00:00
j-berman
f137a35984 Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18]
- `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when
returning pool txs via a restricted RPC daemon.
- A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs
in the `added_pool_txs` field, and returns any remaining pool hashes
in the `remaining_added_pool_txids` field. The client then requests
the remaining txs via `/gettransactions` in chunks.
- `/gettransactions` no longer does expensive no-ops for ALL pool txs
if the client requests a subset of pool txs. Instead it searches for
the txs the client explicitly requests.
- Reset `m_pool_info_query_time` when a user:
  (1) rescans the chain (so the wallet re-requests the whole pool)
  (2) changes the daemon their wallets points to (a new daemon would
      have a different view of the pool)
- `/getblocks.bin` respects the `req.prune` field when returning
pool txs.
- Pool extension fields in response to `/getblocks.bin` are optional
with default 0'd values.
2023-07-09 08:38:18 +02:00
rbrunner7
23f782b211 wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call [release-v0.18] 2023-07-09 08:30:53 +02:00
jeffro256
842478c5a9
core_rpc_server: return ID of submitted block 2023-06-30 15:32:49 -05:00
Crypto City
df94fe9be6 add voxel smoothness to consensus 2023-06-16 16:33:34 +00:00
Crypto City
5e5ad0f715 Fluorine Fermi
-----BEGIN PGP SIGNATURE-----
 
 iQFJBAABCAAzFiEEh3erj3eO6JSHovjn9KygGDZB4BAFAmQrcQUVHGx1aWdpMTEx
 MXdAZ21haWwuY29tAAoJEPSsoBg2QeAQx2kH/AjGrkHYqvwiwUwxPHvUG3IE2+47
 j2pZAd55yg1l4clECRwFSicdNHqInXYqj03GeVl+NW9mcIe52cY1GLYYwwHFdfgk
 BMRdfYTZypoe84qzAupN0miAHHFgIcnQdR90MVt/mMWc67JUPA0XdJC2jpOho7ob
 h8rjRSv/QEpGQ3CeoG3/brAIc2/TNRFJHCq9eVc1fhZUJ2gWHieo/EbtnbArwbpU
 NWZ9GAoWyy5fUhmYgzHPwqGzbvzlmWl5C4dw3HdjvXL2Ah7DPuG3tY3b29z0xBD3
 C3bCGEYkOvtmJ/bBQyu3ZVfj2W3Z7pDItQ1fyFxbhWzakgPICWXjbyR7K1w=
 =TDpE
 -----END PGP SIGNATURE-----

Merge tag 'v0.18.2.2' into cc

Fluorine Fermi
2023-06-08 14:31:22 +00:00
Crypto City
cf9158f27f merchant ships may now have more than one item for sale 2023-06-08 08:15:01 +00:00
Crypto City
30d841e8e4 remove game side get_shares, always rely on daemon RPC now 2023-06-06 20:01:28 +00:00
Crypto City
248675a830 lightsources can now be placed in the world
along with a new ligtsource block type, and coloured powder items
2023-06-06 20:01:00 +00:00
Crypto City
b7b53c9904 game: plug account bidding in game ui 2023-05-30 13:04:24 +00:00
Crypto City
8ea9160fca game accounts can now be auctioned
can only be withdrawn from at the moment
2023-05-30 13:04:24 +00:00
Crypto City
53480ea159 coru: jeopardy mode
the winner may pick a coin or rune of their choice from
the loser's deck
2023-05-30 13:04:02 +00:00
Crypto City
87ec510baf coru tournaments 2023-05-30 13:03:57 +00:00