Roman Khimov
|
d6bd6b6888
|
native: drop Refuel method from GAS
It can be used to attack the network (amplifying DOS), so it's broken
beyond repair. This reverts ac601601c1 .
See also neo-project/neo#2560 and neo-project/neo#2561.
|
2021-08-05 10:27:13 +03:00 |
|
Roman Khimov
|
36d486a664
|
config: add InitialGASSupply, fix #2073
We now have 52M by default.
|
2021-07-20 16:59:54 +03:00 |
|
Evgeniy Stratonikov
|
233996eec0
|
native/neo: add getAccountState method, close #1975
|
2021-05-27 10:59:38 +03:00 |
|
Evgeniy Stratonikov
|
e314e55a1b
|
compiler: add Base58Check* interop wrappers
Missing piece from #1977.
|
2021-05-25 18:06:40 +03:00 |
|
Anna Shaleva
|
6eee868b4a
|
interop: remove native NNS API wrappers
|
2021-05-17 22:08:15 +03:00 |
|
Roman Khimov
|
4e651eaf83
|
compiler: simplify increments as suggested by golint
|
2021-05-12 22:52:07 +03:00 |
|
Roman Khimov
|
73ecbbb7c6
|
compiler: remove unused testPrintHash from test code
|
2021-05-12 18:18:49 +03:00 |
|
Evgeniy Stratonikov
|
40d1dd0e0d
|
native/std: add stringSplit method
|
2021-05-11 12:11:38 +03:00 |
|
Evgeniy Stratonikov
|
dadfe2b9ab
|
native/std: add memorySearch method
|
2021-05-11 12:11:38 +03:00 |
|
Evgeniy Stratonikov
|
978f4dfbc5
|
native/std: add memoryCompare method
|
2021-05-11 12:11:38 +03:00 |
|
Evgeniy Stratonikov
|
e4b34833da
|
native/std: add overloads for itoa and atoi
|
2021-05-11 12:11:38 +03:00 |
|
Anna Shaleva
|
d0c64347ab
|
*: add data to NEP11 Transfer
|
2021-05-05 19:44:29 +03:00 |
|
Evgeniy Stratonikov
|
ac601601c1
|
native: add refuel method to GAS contract
|
2021-04-29 18:26:34 +03:00 |
|
Roman Khimov
|
555693d8b8
|
oracle: add MinimumResponseGas to interop
It's important for users of oracle contract.
|
2021-04-06 22:50:42 +03:00 |
|
Roman Khimov
|
090d68f8fa
|
oracle: add response codes to interop defintions
Client should be aware of them.
|
2021-04-06 22:50:42 +03:00 |
|
Anna Shaleva
|
a2a9d7ff05
|
core: move NNS record types to a separate package
We need this to avoid `native` dependency in RPC client.
|
2021-03-26 20:44:32 +03:00 |
|
Anna Shaleva
|
681bd89cc7
|
core: move native node roles to a separate pkg
We need this to avoid `native` dependency in the RPC client.
|
2021-03-23 13:56:34 +03:00 |
|
Roman Khimov
|
83cb5ff07b
|
roles: add missing NeoFSAlphabet role
|
2021-03-19 16:18:45 +03:00 |
|
Anna Shaleva
|
9377751e65
|
config: add NativeUpdateHistory
|
2021-03-15 12:35:14 +03:00 |
|
Evgeniy Stratonikov
|
256cd09228
|
native: allow to set oracle request price
|
2021-03-11 10:12:30 +03:00 |
|
Evgeniy Stratonikov
|
27fc28bd69
|
native: allow to set candidate register price
|
2021-03-11 10:12:30 +03:00 |
|
Anna Shaleva
|
2b90d4455f
|
native: implement StdLib contract
|
2021-03-10 19:24:19 +03:00 |
|
Evgeniy Stratonikov
|
100f2db3fb
|
native: implement CryptoLib contract
|
2021-03-10 19:24:19 +03:00 |
|
Evgeniy Stratonikov
|
ffd85dd51d
|
native/policy: remove MaxBlockSize and MaxBlockSystemFee
|
2021-03-04 16:59:19 +03:00 |
|
Evgeniy Stratonikov
|
7b8533b67c
|
native/policy: move MaxTransactionsPerBlock to config
|
2021-03-04 16:59:19 +03:00 |
|
Evgeniy Stratonikov
|
cbda20aca3
|
core: fix native method call flags
Replace `WriteStates` with `States`.
Follow neo-project/neo#2339.
Close #1775.
Related #1725.
|
2021-02-25 18:07:33 +03:00 |
|
Roman Khimov
|
ca08a559fa
|
interop: allow transfer calls to read states
Follow-up to #1734.
|
2021-02-12 12:56:15 +03:00 |
|
Evgeniy Stratonikov
|
18b7584cb4
|
compiler/interop: add Manifest to Contract struct
|
2021-02-08 13:13:11 +03:00 |
|
Evgeniy Stratonikov
|
6cf40749a9
|
compiler: add tests for native wrappers
|
2021-02-08 13:13:10 +03:00 |
|
Evgeniy Stratonikov
|
2f6345f2d9
|
compiler: add Hash compatibility test
|
2021-02-08 13:09:41 +03:00 |
|
Evgeniy Stratonikov
|
2f26490e59
|
compiler: implement RoleManagement contract wrapper
|
2021-02-08 11:44:39 +03:00 |
|
Evgeniy Stratonikov
|
3c237e2a29
|
compiler: implement NameService contract wrapper
|
2021-02-08 11:44:39 +03:00 |
|