Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 223 commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
acad0e4
use CheckTypePrefix to check type prefixes
luca-moser Nov 9, 2021
bb129ff
adds nft/alias unlock blocks
luca-moser Nov 9, 2021
457deb6
add new unlock blocks to selectors
luca-moser Nov 9, 2021
80c4533
fixes wrong selector block
luca-moser Nov 9, 2021
ec3aed3
intermediate work
luca-moser Nov 9, 2021
c2733bb
semantic wip
Nov 11, 2021
f19774b
semantic wip 2
luca-moser Nov 11, 2021
9f8ab03
chain constrained outputs
luca-moser Nov 12, 2021
7206c67
implement partial STVF for FoundryOutput
luca-moser Nov 12, 2021
04272b5
native token semantics check for transitioning foundries
luca-moser Nov 12, 2021
621ccef
adjust error fmt for output native tokens case
luca-moser Nov 12, 2021
6219228
add STVF rules between alias and foundries
luca-moser Nov 12, 2021
cba0820
refactor
luca-moser Nov 12, 2021
ff32351
rename new transition type to genesis because it sounds cooler
luca-moser Nov 13, 2021
f2c6c32
fixes typo
luca-moser Nov 13, 2021
3fa1855
normalize some panics
luca-moser Nov 13, 2021
505dd8c
removes cyclic function call
luca-moser Nov 13, 2021
99671c7
adds more semantic checks
luca-moser Nov 14, 2021
8909663
fixs go.mod files
luca-moser Nov 14, 2021
c4cc6b1
fix up comments
luca-moser Nov 15, 2021
50281d7
wip
luca-moser Nov 15, 2021
e1c3ec8
adds virtual byte rent cost calcs
luca-moser Nov 15, 2021
21cf601
use vbyte cost
luca-moser Nov 15, 2021
816b098
adjusts length prefixes of feature block slice and indexation tag
luca-moser Nov 16, 2021
084d046
renames ReturnFeatureBlock to DustDepositReturnFeatureBlock
luca-moser Nov 16, 2021
4535345
adds convenience funcs on FeatureBlockSet
luca-moser Nov 16, 2021
b98e0f9
adjusts output type IDs
luca-moser Nov 17, 2021
c30c451
dont validate on json
luca-moser Nov 17, 2021
4e8b4ac
remove replace directive
luca-moser Nov 17, 2021
0afa758
renames UTXOInputID to OutputID
luca-moser Nov 17, 2021
9114e19
use WithValidation
luca-moser Nov 17, 2021
18765c9
fix some review dog comments
luca-moser Nov 17, 2021
35dc941
fix wrong fmt format
luca-moser Nov 17, 2021
fbf1115
use de/seri context
luca-moser Nov 18, 2021
bd6b1c0
fix x package
luca-moser Nov 18, 2021
796a41a
use more concrete inteface types in selectors
luca-moser Nov 18, 2021
3a597d3
removes error from Output's Deposit() func
luca-moser Nov 19, 2021
e625d76
removes SimpleTransfers from working set
luca-moser Nov 19, 2021
1756ba7
fixes typo
luca-moser Nov 19, 2021
018523c
adds outputs syntactical validation func tests
luca-moser Nov 22, 2021
a86c93a
expose array rules
luca-moser Nov 22, 2021
17535a6
use newer hive.go version
luca-moser Nov 23, 2021
12eec15
adds UnlockableBy to outputs
luca-moser Nov 23, 2021
479c615
adds unit test for UnlockableBy
luca-moser Nov 24, 2021
627d6ab
ignore dust deposit return amount on expired output
luca-moser Nov 24, 2021
62e96bb
use new hive.go
luca-moser Nov 25, 2021
5445d18
use updated hive.go path
luca-moser Nov 25, 2021
cd1c15b
use serializer as separate module
luca-moser Nov 25, 2021
1875610
use serializer/v2
luca-moser Nov 25, 2021
6e134dc
remove hive.go dep from iota.go
luca-moser Nov 25, 2021
a6d09a0
change package for protobuf remotesigner models
luca-moser Nov 25, 2021
aea816f
use different dispatcher package
luca-moser Nov 25, 2021
315dd1e
use updated serializer pkg
luca-moser Nov 25, 2021
b9d7e35
adds input unlocks test
luca-moser Nov 30, 2021
ecbf4fe
fix x pkg test fail
luca-moser Nov 30, 2021
4d61999
Add test vectors from RFC-28 (#297)
Wollac Nov 30, 2021
5eaf18b
adds more unit tests for semantic validation
luca-moser Dec 1, 2021
a564255
adds HasConstraints() to FeatureBlocks
luca-moser Dec 3, 2021
98eff56
adds positive alias stvf tests
luca-moser Dec 3, 2021
260f3e2
adds negative alias stvf tests
luca-moser Dec 3, 2021
55b845b
fixes wrong output type in foundry deserialization
luca-moser Dec 3, 2021
19233cc
fixes error msg when deserializing feature blocks on an ExtendedOutput
luca-moser Dec 3, 2021
26968e6
adds de/seri unit tests for outputs and feature blocks
luca-moser Dec 3, 2021
b4fd176
fixes typo
luca-moser Dec 3, 2021
5b70de0
adds foundry STVF unit tests
luca-moser Dec 6, 2021
b628d37
adds error producing corpus from rust fuzzer
luca-moser Dec 6, 2021
195a56a
use Go 1.17.x for CI
luca-moser Dec 6, 2021
d28605e
use newest hive.go
luca-moser Dec 6, 2021
7802750
adds complete semantic validation check unit test on complex tx
luca-moser Dec 8, 2021
65833d9
removes fmt.Println in test
luca-moser Dec 8, 2021
e83db33
makes ed25519 pkg only implement Verify
luca-moser Dec 8, 2021
4d07480
fix wrong json model for SimpleTokenScheme
luca-moser Dec 8, 2021
b884366
compute min. dust amount for return output on the fly
luca-moser Dec 8, 2021
4fd81f4
return OutputSet in node http client
luca-moser Dec 9, 2021
147a12b
builder boilerplate
luca-moser Dec 14, 2021
5121834
make feature blocks mutable on alias state transition
luca-moser Dec 14, 2021
918c740
alias state transition can not modify metadata feature block
luca-moser Jan 10, 2022
ef7c9b7
adds FoundrySerialNumber to FoundryID/NativeTokenID
luca-moser Jan 10, 2022
b423f8c
makes addresses, outputs and feature blocks cloneable
luca-moser Jan 10, 2022
a775930
fixes complete native token supply burn to trigger sum inbalance
luca-moser Jan 10, 2022
f530346
adds circulating supply burning test
luca-moser Jan 17, 2022
40b8411
refactors to new unlock condition model
luca-moser Jan 19, 2022
312fc10
adds UnlockConditions() to NFTOutput
luca-moser Jan 20, 2022
588724d
renames IndexationFeatureBlock() to TagFeatureBlock()
luca-moser Jan 20, 2022
e852852
adds more helper funcs to UnlockConditionsSet
luca-moser Jan 20, 2022
640a045
fixes rename compilation error
luca-moser Jan 20, 2022
d93eca8
change routes to v2 and adds 'Plugins' fields to NodeInfoResponse
luca-moser Jan 21, 2022
3d7c988
check that supplied deseri paras are not nil
luca-moser Jan 21, 2022
7061835
fixes wrong length prefix type for tagged data payload tag field
luca-moser Jan 26, 2022
e459717
use arrays for model type name instead of functions
luca-moser Jan 26, 2022
26eec04
fixes wrong hasing on IDs dependent on blake2b-160
luca-moser Jan 27, 2022
23553ff
fix compilation errors
luca-moser Jan 27, 2022
940e2e4
Revert "adds error producing corpus from rust fuzzer"
luca-moser Jan 28, 2022
d39facb
re-add fuzzing folder
luca-moser Jan 28, 2022
1da920a
remove legacy fuzzing (#306)
luca-moser Jan 28, 2022
037b794
use byte prefix for native token set denotation
luca-moser Jan 31, 2022
bca8836
fixes OutputsByType.AliasOutputs()
luca-moser Jan 31, 2022
32b98d5
remove fmt
luca-moser Jan 31, 2022
e5509b5
use correct json model when deserializing foundry
luca-moser Feb 1, 2022
a9ea209
adds json tag to RentStructure
luca-moser Feb 1, 2022
1951ddb
adjusts virtual byte costs across models
luca-moser Feb 2, 2022
d1801b5
rename feature block json key to featureBlocks
luca-moser Feb 2, 2022
2afee7a
adds indexer client (#308)
luca-moser Feb 2, 2022
a7465be
removes data envelope, adjusts node infos res
luca-moser Feb 2, 2022
ff3a23b
makes Do public in nodeclient pkg
luca-moser Feb 2, 2022
3e192ba
updates indexer response
luca-moser Feb 2, 2022
96b6cb3
adds Do func to nodeclient.Client
luca-moser Feb 2, 2022
a74865a
renames ExtendedOutput to BasicOutput
luca-moser Feb 3, 2022
f9fda60
limits to max 64 native tokens per tx
luca-moser Feb 3, 2022
0128c1c
adjust max inputs/outputs to 128
luca-moser Feb 3, 2022
79c6ec8
adds imm. feat block and imm. alias unlock cond
luca-moser Feb 3, 2022
8688696
adds ImmutableFeatureBlocks() to ChainConstrainedOutput
luca-moser Feb 3, 2022
7255765
adds inputs commitment to tx essence
luca-moser Feb 3, 2022
219a301
adds network ID to tx essence
luca-moser Feb 3, 2022
46a581c
removes network ID funcs from msg builder
luca-moser Feb 3, 2022
22608e9
adds protocol version field to msg
luca-moser Feb 4, 2022
1b62ff9
Adapt builder pkg to latest v3 changes (#312)
alexsporn Feb 10, 2022
a5c43f5
Feat: add Size() (#311)
jorgemmsilva Feb 11, 2022
070a19b
fixes network id key in tx essence
luca-moser Feb 17, 2022
015dddc
fixes typo
luca-moser Feb 17, 2022
d9f9eb6
removes single func output interfaces
luca-moser Feb 17, 2022
0c62480
adds pageSize to indexer client
luca-moser Feb 17, 2022
9b9d95b
UTXOInput know has Equals method (#314)
Juliusan Feb 21, 2022
58bfcfc
Update json address field names (#315)
lzpap Feb 21, 2022
f31b271
renames DustDepositReturn to StorageDepositReturn
luca-moser Feb 22, 2022
06b16dc
lifts storage deposit return upper bound amount
luca-moser Feb 22, 2022
8a85d05
lifts min length of tagged payload
luca-moser Feb 25, 2022
a1d81d5
adds target output storage deposit check against storage deposit delta
luca-moser Feb 28, 2022
364454c
Bump types (#318)
lzpap Mar 1, 2022
7fe2a8b
V3 - Updated NodeEventAPIClient (#319)
alexsporn Mar 1, 2022
f5a39a1
Refactored number formatting in JSON api (hex and strings) (#320)
alexsporn Mar 1, 2022
061f142
add NFTIDFromOutputID helper function (#321)
jorgemmsilva Mar 1, 2022
922a69b
use num placeholder in route template strings
luca-moser Mar 1, 2022
d7b7482
encodes uint256 in json as hex strings
luca-moser Mar 1, 2022
268c03b
fixes IssuerFeatureBlock being in set of mutable feature blocks in NF…
luca-moser Mar 3, 2022
9ea4571
- Encoding MigratedFundsEntry deposit field as string in the JSON rep…
alexsporn Mar 2, 2022
2e4c883
TransactionID+MilestoneID ToHex (#324)
alexsporn Mar 2, 2022
a110a39
v3 NodeEventAPIClient improvements (#325)
alexsporn Mar 9, 2022
269f025
Use newer native token validation rules with minted/melted fields (#…
luca-moser Mar 15, 2022
bb1ce70
use hexutil pkg to encode uint256 to hex
luca-moser Mar 15, 2022
86fa7fe
removes a short circuit check
luca-moser Mar 21, 2022
3d09662
restrict unlock condition for simple return transfers
luca-moser Mar 27, 2022
521fd8d
refactors native token constraints into token scheme
luca-moser Mar 27, 2022
a298c2c
V3 nodeclient improvements (#326)
alexsporn Mar 21, 2022
e9af895
- Added `omitempty` to certain fields in the JSON representation of t…
alexsporn Mar 21, 2022
551c9a1
Properly handle 503 service unavailable errors (#328)
alexsporn Mar 21, 2022
c449a2d
Make NodeHTTPAPIClient compatible with chronicle (#317) (#329)
muXxer Mar 26, 2022
bf35eb7
adjusts milestone according to TIP29
luca-moser Mar 30, 2022
aa07ceb
rename OutputsQuery to BasicOutputsQuery (#330)
jorgemmsilva Mar 31, 2022
3ef5918
remove cyclic addr checks when chain IDs are empty
luca-moser Mar 31, 2022
308c267
- Renamed PrefixTestnet to PrefixDevnet and added smr and rms as Pref…
alexsporn Mar 31, 2022
d2feb50
fixes syntactical tests
luca-moser Mar 31, 2022
6c40649
make new foundry in semantic test have initial supply
luca-moser Apr 1, 2022
bf43db7
adds metadata field to milestone
luca-moser Apr 4, 2022
8e89771
return outputIDs from indexer queries (#332)
jorgemmsilva Apr 1, 2022
75b1317
fixes signatures unit test compilation error
luca-moser Apr 4, 2022
4fd5297
Added support for the 3 new MQTT topics to track nft, alias and found…
alexsporn Apr 4, 2022
d37b99f
Added missing MQTT topics (#334)
alexsporn Apr 4, 2022
cb8f60d
use simplified SDRUC validation
luca-moser Apr 5, 2022
2c9cf13
Merge branch 'v3' of github.com:iotaledger/iota.go into v3
luca-moser Apr 5, 2022
d6b9136
- Add failing tests where deserializer uses empty byte slice instead …
alexsporn Apr 6, 2022
4df31d0
v3 review changes number 1 (#336)
muXxer Apr 6, 2022
4793e49
fixes referential unlock markings
luca-moser Apr 8, 2022
dfa95d0
Merge branch 'v3' of github.com:iotaledger/iota.go into v3
luca-moser Apr 8, 2022
7ca0562
removes left over comment
luca-moser Apr 8, 2022
a148452
adds syntactic check for native token's amount not being zero
luca-moser Apr 8, 2022
298f539
fixes validation function init in native token syntactical unit test
luca-moser Apr 8, 2022
4ddaa9f
introduces milestone options
luca-moser Apr 11, 2022
ca3187d
adds last ms pointer and past cone merkle proof to milestone
luca-moser Apr 11, 2022
949902d
fixes compilation error in milestone unit test
luca-moser Apr 11, 2022
36fc47c
check foundry's native token ID to determine whether foundry is trans…
luca-moser Apr 11, 2022
01e152e
Update to go 1.18 to fix go-ethereum imports (#337)
muXxer Apr 14, 2022
35b22a8
Change Milestone.Timestamp datatype to uint32 (#338)
muXxer Apr 14, 2022
9fea04f
adjusts milestone field names
luca-moser Apr 14, 2022
45cdf95
Merge branch 'v3' of github.com:iotaledger/iota.go into v3
luca-moser Apr 15, 2022
a9fef1d
adjusts json fields in milestone payload
luca-moser Apr 19, 2022
019acb5
renames 'LastMilestone' to 'LastMilestoneID'
luca-moser Apr 19, 2022
6a932df
Add Accept Header MIME type (#340)
muXxer Apr 20, 2022
ed2d944
Adapt event API topics to latest changes (#339)
muXxer Apr 20, 2022
29dd961
Fix indexer basic outputs route (#341)
muXxer Apr 20, 2022
8fee238
- Use proper mime-type when sending raw IOTA models over the nodeclie…
alexsporn Apr 20, 2022
d44a538
refactors total supply logic (#343)
luca-moser Apr 21, 2022
b3583f0
Update output_alias.go
muXxer Apr 25, 2022
6c9fad3
use latest hive.go version
luca-moser Apr 26, 2022
d508c59
Merge branch 'v3' of github.com:iotaledger/iota.go into v3
luca-moser Apr 26, 2022
b3b151e
updates info response
luca-moser Apr 26, 2022
47dbc0b
adjusts milestone routes
luca-moser Apr 26, 2022
0251450
- Add json annotations to ProtocolParameters (#347)
alexsporn Apr 26, 2022
0178c59
Rename "Last Milestone ID" to "Previous Milestone ID"
lzpap Apr 26, 2022
b49e256
- Added custom json marshalling for ProtocolParameters due to TotalSu…
alexsporn Apr 26, 2022
4b19bfb
use generic data func in event api (#346)
luca-moser Apr 26, 2022
f0e40d2
let RandTaggedData support 0 len data field
luca-moser Apr 26, 2022
885cf4e
Update nodeclient/indexer_models.go
luca-moser Apr 26, 2022
276d8c1
add 'Syntactically' to inputs/outputs validation funcs
luca-moser Apr 26, 2022
9b091b3
return an error if an invalid input is seen in InputsSyntacticalIndic…
luca-moser Apr 26, 2022
ac566f8
Revert "let RandTaggedData support 0 len data field"
luca-moser Apr 26, 2022
a7300f7
return error for non utxo referencer in other loc
luca-moser Apr 26, 2022
a6e066c
fixes test having wrong addr type for NFTAddress test
luca-moser Apr 26, 2022
1c56bd8
removes TaggedData min tag len check
luca-moser Apr 26, 2022
f54a089
removes error from NewMilestone constructor func
luca-moser Apr 26, 2022
57575ad
use constants in VByte func for addr types
luca-moser Apr 26, 2022
f3274a4
move deserialize alias addr func
luca-moser Apr 26, 2022
f14763c
normalizes usages of 'nft' to 'NFT'
luca-moser Apr 26, 2022
3db8417
fix doc on IsIssuerOnOutputUnlocked
luca-moser Apr 26, 2022
51bcb69
renames VByteCost func to VBytes
luca-moser Apr 26, 2022
3eda5b6
renames vbytes cost func, costStruct to rentStruct
luca-moser Apr 26, 2022
e9e9364
alters name of MinStorageDeposit func
luca-moser Apr 26, 2022
e19c18c
Merge branch 'v3' of github.com:iotaledger/iota.go into v3
luca-moser Apr 26, 2022
0189356
- Use PoW instead of Pow (#349)
alexsporn Apr 27, 2022
656e414
- Adapt to latest milestone endpoints (#350)
alexsporn Apr 27, 2022
fb89ca0
Add base token information to the info endpoint (#351)
muXxer Apr 27, 2022
d275a78
Change indexer routes (#352)
muXxer Apr 29, 2022
a06bd1e
check network id during tx essence syntactical checks (#354)
luca-moser Apr 29, 2022
6345867
increases length of alias/nft ids to 32 bytes (#353)
luca-moser Apr 29, 2022
b9dbf0e
- Added omitempty to the JSON serialization of the outputs native tok…
alexsporn May 2, 2022
5a9d1ff
- Use correct alias address filter query when querying the indexer fo…
alexsporn May 3, 2022
7f5a8fd
Extends protocol parameters (#357)
luca-moser May 6, 2022
d7152b0
removes token tag, makes native token id = foundry id (#358)
luca-moser May 6, 2022
6d1506d
- Separate output metadata into own model (#359)
alexsporn May 6, 2022
defa263
- Added missing protocol version parameter to NewMilestone func (#360)
alexsporn May 6, 2022
2fdbd7f
Renames Message to Block (#362)
luca-moser May 17, 2022
72010a4
Merkelize input commitment (#361)
muXxer May 17, 2022
0bff02c
Use distinct types for ID types (#365)
luca-moser May 18, 2022
2790196
fix ids (#366)
luca-moser May 18, 2022
70b6e37
adds RemoveDupsAndSort to OutputIDs (#367)
luca-moser May 18, 2022
65c6a30
Renamed childrenBlockIds to children in JSON core model (#368)
alexsporn May 19, 2022
8292186
cleans set names (#369)
luca-moser May 19, 2022
79d375f
Rename MQTT topics (#371)
muXxer May 30, 2022
ec319e6
ProtocolParameters serialization (#370)
muXxer May 30, 2022
3c4c4e1
add rent.MinRent (#372)
jorgemmsilva Jun 1, 2022
f73231b
go get -u github.com/eclipse/paho.mqtt.golang (#373)
jorgemmsilva Jun 9, 2022
c76800b
Add function to http_api_client to return underlying HTTPClient
muXxer Jun 10, 2022
f993b18
adds more funcs requested by downstream (#381)
luca-moser Jun 16, 2022
4dd7419
Remove MilestoneIndex from time based UnlockConditions (#380)
muXxer Jun 20, 2022
a99cd56
Update modules
muXxer Jun 20, 2022
56012db
Fix error messages for time based unlock conditions
muXxer Jun 20, 2022
b833a88
updates builders (#384)
luca-moser Jun 20, 2022
7a91aa2
Ported the merkle tree hasher from hornet to iota.go and added conven…
alexsporn Jun 21, 2022
d2f8a5e
- Use the new `/api/routes` endpoint for route discovery (#387)
alexsporn Jun 21, 2022
bba0873
Rename neighbors to peers in GossipHeartbeat (#388)
muXxer Jun 21, 2022
f0fd6ca
Fix Vbyte calculation for time based unlock conditions (#389)
lzpap Jun 22, 2022
cbfbafb
- Fixed OutputType.String() returning the wrong value (#390)
alexsporn Jun 22, 2022
55ec98a
Move keymanager from hornet to iota.go (#391)
muXxer Jun 24, 2022
946b36a
Move signingprovider from inx-coordinator to iota.go (#392)
muXxer Jun 24, 2022
7b53090
Omitempty TS and MilestoneID in InfoResMilestone (#393)
lzpap Jul 5, 2022
acc8365
- Added whiteFlagIndex to block metadata response (#394)
alexsporn Jul 5, 2022
a991249
check whether chain is addressable in tx builder
luca-moser Jul 11, 2022
6619890
renames NativeTokenSet() on Output to NativeTokenList()
luca-moser Jul 11, 2022
e56bfef
Use *bool for the indexer optional bool parameters (#395)
alexsporn Jul 13, 2022
0f93826
- Add omitempty to TaggedData data field (#396)
alexsporn Jul 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test_and_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test_and_benchmark:
strategy:
matrix:
go-version: [ 1.15.x ]
go-version: [ 1.18.x ]
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -16,6 +16,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v1
- name: Run tests
run: go test -tags="pow_avx pow_sse pow_c pow_c128" -v -covermode=count ./...
run: go test -v -covermode=count ./...
- name: Run Benchmarks
run: go test -bench=. ./...
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
.vscode/
*.exe
*.exe~
*.dll
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Official Go library.

This library allows you to do the following:

- Create messages with indexation and transaction payloads
- Create messages with tagged data and transaction payloads
- Get messages and outputs
- Sign transactions
- Generate addresses
Expand All @@ -25,12 +25,12 @@ To use the library, we recommend you update Go [to the latest stable version](ht
Using the library is easy, just `go get` it as any other dependency:

```bash
go get github.com/iotaledger/iota.go/v2
go get github.com/iotaledger/iota.go/v3
```

## API reference

You can read the API reference [here](https://pkg.go.dev/github.com/iotaledger/iota.go/v2).
You can read the API reference [here](https://pkg.go.dev/github.com/iotaledger/iota.go/v3).

## Joining the discussion

Expand Down
Loading